adspace


when data member or member function is static is acess
specifier is considered??

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an abstract class c#?

973


Which namespaces are necessary to create a localized application?

1147


How to assign Null value to Var?

1071


How do you inherit a class into other class in c#?

999


Why can't we use a static class instead of singleton?

962


What is expression tree in c#?

1004