Instantiate a class with named parameters

Person person = new Person { Name = “FirstName LastName”, Age = 23 };

Comments are closed.