c# - What is the difference between a public and private variable -
this question has answer here:
newbie incoming, coming question unity, , c# in particular. simple, not figure out.
what's difference between public , private mean? don't it. public, private, boggles mind. can't through head, doesn't happen often. can explain me i'm five? me out on journey of making ball move across ground. thank in advance.
good night .
the difference :
private : variables or " functions" may used in source class .
public : variables or "functions" can used in various class .
classes: class construct allows create own custom types grouping variables of other types , methods , events. class blueprint . defines data , behavior of type.
Comments
Post a Comment