C Sharp (C#) - Properties and Encapsulation
Find the problem in this code:
public class Employee {
public string Id { get; init; }
}
var emp = new Employee();
emp.Id = "E123";
emp.Id = "E456";