C Sharp (C#) - Properties and Encapsulation
What will be the output of this C# code?
class Person {
public string Name { get; set; }
}
var p = new Person();
p.Name = "Alice";
Console.WriteLine(p.Name);