Type initializers
Usage
without type initializers
-Animal c = new Animal();
-c.Name = "Snoopy";
-c.AnimalType = "Dog";
with type initializers
Animal c = new Animal
{
Name = "Snoopy",
AnimalType = "Dog"
};
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com