C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !



Posted By: R Sudha       Member Level: Gold       Posted Date: 07 Dec 2005       Category: C#

Consider a declaration in a class.
public const int c=99;
This can be accessed in other classes by



Select Answer:

instant reference - create an instance of that class and access just like other fields
as a static member - access just like static members of a class
Not possible to access at all
None of the above




      
Your Test Score: 0 / 0



Next Question: Declartions short, int, long represent respectively
Previous Question: What is the difference between a read-only variable and a constant declared in a class?
Related Questions:
  • What is the equivalent way to #define a variable and value in C# ?


  • Which property of the Exception class should be used to find the line of code that caused an exception to be thrown?


  • How pointer concept is implemented in C#?


  • It is not possible to debug the classes written in other .Net languages in a C# project.


  • In C# String is


  • Categories

    ASP.NET C# VB.NET 
    .NET Framework SQL Server Other 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    dotNet Slackers   BizTalk Adaptors    Web Design

    budget conference call

    Contact Us    Privacy Policy    Terms Of Use