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 |
Explain the top reason to use c# language?
Is list immutable in c#?
What is the property of a class in c#?
What is the difference between an XML "Fragment" and an XML "Document." ?
Why do we need constructors?
How do I run managed code in a process?
What is c sharp used for?
What is an enumerator in c#?
What is uint64_t?
Can you inherit from a static class in c#?
What are different types of Delegates in C#?
can we throw execption from catchblock
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)