Property Backing Field Bug
Spot the mistake in a manually written C# property that causes a runtime crash.
Codecsharp
public class Person
{
public string Name
{
get { return Name; }
set { Name = value; }
}
public Person(string name)
{
Name = name;
}
}What is the bug in this code?