+ 1
Why class has only public and internal access modifier
3 Antworten
0
You mean public and private? There is also protected and in C++ you also have the IMHO horrible concept of friend.
What access modifier do you miss?
0
thanks for answer but I am asking in c#
0
Is the same for C# (and pretty much any other OO language), except for the 'friend' part. So you have private, public and protected.
By the way: your original question didn't mention a language...