anonymous data type regular data type c# code example Example: c# anonymous class var myObject = new { Foo = "foo", Bar = 1, Quz = 4.2f }