Essential C# Anonymous types  Suggest an edit

Implicitly typed arrays

Arrays of anonymous types may be created with implicit typing.

var arr = new[] {
    new { Id = 0 },
    new { Id = 1 }
};


Table Of Contents
22 Enum
25 GUID
34 Anonymous types
107 Stream
108 Timers
  ↑ ↓ to navigate     ↵ to select     Esc to close