C# Language Initializing Property in Constructor

Download C# Language for free

Example

class Example
{
    public string Foobar { get; set; }
    public List<string> Names { get; set; }
    public Example()
    {
        Foobar = "xyz";
        Names = new List<string>(){"carrot","fox","ball"};
    }
}
Initializing Property with a Backing Field