CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

access specifiers

C# – Access Modifiers – public access modifier

We have discussed access modifiers or access specifiers in our previous article “C# – Access Modifiers“. In this article, I am going to explain in more detail about “public access modifier” with examples. public Access Modifier The modifier allows all the class members and the class itself to access outside the Assembly,  Namespace, or outside […]

C# – Access Modifiers

Access Modifiers – C# or access specifiers are used to define the scope of the class or its members defined in the class. That means, it restricts to access the classes and their members within the defined scope only; outside the scope, the classes or their’ members cannot be accessed. ‘C#’ provides the following access […]

C#: Classes – Access Specifiers & Inheritance

‘C#’ class members are accessible based on their access specifiers. I will write a separate article on class’s access specifiers in more detail. But here I want to give an high level introduction on access specifiers. Access Specifiers ‘C#’ provides public, private, internal, protected and protected internal access specifiers. Remember that the class members are […]

Scroll to top
Exit mobile version