+ 1
Im confused at public and private statement c#
Pls help me to learn it I'm really confused about it
1 Réponse
+ 3
private is everything you want to keep for yourself.
public is everything everybody may use.
In coding terms.
This is used in a class
private is for use in the class only
public is for use outside the class.
https://code.sololearn.com/cR3xSZ5Bw2GF