Advertisement
KodingKid

C# access modifiers and what they do - Basic Scripting #32

Jun 29th, 2021
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.32 KB | None | 0 0
  1. public //accessible to the entire script
  2. private //accessible to the entire class + can be used with protected
  3. protected //accessible to the entire class or an inherited class + can be used with internal
  4. internal //accessible to the entire assembly
  5. //the ones that go together can make:
  6. private protected
  7. protected internal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement