Members are public in the default struct and private in the class.
When inheriting a class from something (struct or class), if you don't specify an access modifier, the inheritance will be private.
When inheriting a struct from something (struct or class), if you don't specify an access modifier, the inheritance will be public.
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать