C# Access Modifiers: What Why How | C#.Net Tutorial - GTech eAcademy
Watch Full Explanation on our YouTube channel https://www.youtube.com/watch?v=4Q8z6qUJN3Y&t=234s Discussion points 1) What is Assembly in .Net? 2) What is Access Modifier? 3) Why do we need to control access to a class or its members? 4) How to implement with Example? 5) Types of Access Modifier & their explanation 6) Interview Questions What is Assembly in .Net? 1) An assembly is a compiled code library (.dll/.exe) used for deployment. Assembly in .Net 2) Assemblies take the form of executable (.EXE) or dynamic link library (.DLL) files and are the building blocks of .NET applications. 3) Assembly is an OS and H/W independent code. What is Access Modifier? A way to control access to a class or its members. OR Access Modifiers are keywords that define the accessibility of a class, data member or member function in a program. Why do we need to control access to a class or its members? Restrict unwanted data manipulation by external programs or classes. OR To create safety