C# Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 248 Page Views: 

In C# out of internal and private what is the default access specifier of the class and member variable?



Posted By: Avi Date: 1 October 2010 11:25:31 AM
 Answer:

The access specifier at the class level is internal and at the method and member variable level it is private.


Posted By: avibtech


Date: 1 October 2010 11:25:31 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image wRZmxq
Related Questions
C# : What is the syntax to inherit from a class in C#?

What is the syntax to inherit from a class in C#?

After the name of derived class, place a colon and then the name of the base class. For example: ....
Category: C# Date: 10/15/2009 4:39:26 AM
C# : How can we sort the elements of the array in descending order?

How can we sort the elements of the array in descending order?

By calling Sort() and then Reverse() methods of the Array object.
Category: C# Date: 10/15/2009 4:36:14 AM
C# : What is the difference between the System.Array.CopyTo() and System.Array.Clone()?

What is the difference between the System.Array.CopyTo() and System.Array.Clone()?

CopyTo() method copies all the elements of the current one-dimensional Array to the specified one-di....
Category: C# Date: 10/15/2009 4:33:18 AM
C# : Is it possible to store multiple data types in System.Array object?
C# : What is the difference between String and StringBuilder type?

What is the difference between String and StringBuilder type?

String type is immutable while a StringBuilder type is mutable. StringBuilder objects performs bette....
Category: C# Date: 10/15/2009 4:12:05 AM