Interview question: What is the purpose of an access specifier in C#?
The purpose of an access specifier is to define the scope and visibility of a class member. C# provides five access specifiers: public, private , protected , internal and protected internal. Public access specifier allows a class to expose its member variables and member functions to other functions and objects. Any public member can be accessed from…
Read More “Interview question: What is the purpose of an access specifier in C#?” »