top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is access modifier ?

0 votes
What is access modifier ?
posted Sep 8, 2014 by Neelam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Access modifiers are keywords used to specify the declared accessibility of a member or a type. In .net we have four type of access modifiers:

  • public - Available to all and access is not restricted.
  • protected - Access is limited to the containing class or types derived from the containing class.
  • internal - Access is limited to the current assembly
  • private - Access is limited to the containing type.
answer Sep 8, 2014 by Yogeshwar Thakur
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.