a public class... for what?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
One thing that always have confused me is why is the syntax "public class MyCLass" in C#? What does it mean that "public" in the beginning of a class? ------------------------------ ©0d3 ©®4©k3® - That's me! :) ------------------------------
-
One thing that always have confused me is why is the syntax "public class MyCLass" in C#? What does it mean that "public" in the beginning of a class? ------------------------------ ©0d3 ©®4©k3® - That's me! :) ------------------------------
"public" is contrasted with "internal". public classes can be accessed outside of the assembly that contains them. internal classes can only be accessed by other classes in the same assembly. -- Peter Stephens