C# language feature:
applies to
benefit
how to use
new
operator together with an object initializer (without specifying class/type identifier/name).example:
void Use_of_Anonymous_Type_Example() {
var myson = new { Age = 12, Name = "Jeff" }; // note class identifier is absent after new keyword!
}