var character = new Character { FirstName = "Bart", LastName = "Simpson" }; var newCharacter = character with { FirstName = "Homer" };