Initializing Property with a Backing Field C# with Example



Initializing Property with a Backing Field C# with Example

public string Foobar { 
get { return _foobar; } 
set { _foobar = value; } 
} 
private string _foobar = "xyz"; 

0 Comment's

Comment Form

Submit Comment