G
Guest
find code below, but do not understand the meaning. Code attach below.
What is the meaning of get {}, set{}?
Is get { return _AssetBrowser; } same as return _AssetBrowser;?
I guess if the object.AssetBrowser = xxx, then call set {...},
if xxx=object.AssetBrowser , then call get{...}
right? By the way, where can I find the document for this kind of style
thanks a lot!
public static ArrayList AssetBrowser
{
get { return _AssetBrowser; }
set { _AssetBrowser = value;}
}
What is the meaning of get {}, set{}?
Is get { return _AssetBrowser; } same as return _AssetBrowser;?
I guess if the object.AssetBrowser = xxx, then call set {...},
if xxx=object.AssetBrowser , then call get{...}
right? By the way, where can I find the document for this kind of style
thanks a lot!
public static ArrayList AssetBrowser
{
get { return _AssetBrowser; }
set { _AssetBrowser = value;}
}