⚠️ Notice: This page contains archived content and may reference older versions of C# or .NET. For the latest tutorials, updated examples, and best practices for C# 12 and .NET 8, please visit the latest tutorials ⚠️
 

C# Access Specifiers

In this chapter you will learn:
  • What is Access Specifiers?
  • How many types of access specifiers in C#?

What is Access Specifiers in C#?

Access Specifiers defines the scope of a class member. A class member can be variable or function. In C# there are five types of access specifiers are available.

Summary

In this chapter you learned what access specifiers are and how many types of access specifiers in C#. In next chapter you will learn about public access specifiers.