when data member or member function is static is acess
specifier is considered??
Answers were Sorted based on User's Feedback
Answer / answerme
yes.. For Static Data members / Member functions access
specifiers are considered.
The accessibility of the static members. functions remains
similar as that of normal variable with specified access
specifier. For e.g., Private static variable will not be
accessible outside the class, even though it is
initialized.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / jag
Of course it is. A public static method might still need to
store private data or call other functions which need not
be public. Those would have to be private or protected
static.
| Is This Answer Correct ? | 1 Yes | 2 No |
What sort algorithm does c# use?
What is the difference between ienumerable and icollection?
What is managed code?
What is lazy loading entity framework?
What is the difference between list and array in c#?
In c#.Net Application For DataGridview binding which method is faster in below two case?Why..? 1)looping-Using For loop 2)Databinding direct using Dataset
What are expressions c#?
Where do you add an event handler ?
What is jagged array in c#?
If we write a goto or a return statement in try and catch block will the finally block execute?
Y go for Interface? What is use of interface?
How do you prevent a class from being inherited?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)