What is the best way to give a C# auto-property an initial value?

How do you give a C# auto-property an initial value? I either use the constructor, or revert to the old syntax. Using the Constructor: class Person { public Person() { Name = “Initial Name”; } public string Name { get; set; } } Using normal property syntax (with an initial value) private string name = … Read more