public void CanCreatePersonStruct() { var sut = new PersonX() { FirstName = "John", LastName = "Petersen" }; sut.Items = new List <string>(); sut.FirstName = "john"; sut.Items.Add("Structs are not immutable!"); }
public void CanCreatePersonStruct() { var sut = new PersonX() { FirstName = "Mallikh", LastName = "Kalkere" }; sut.Items = new List <string>(); sut.FirstName = "mallikh"; sut.Items.Add("Structs are not immutable!"); }