C# Language Anonymous types Implicitly typed arrays

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!


Arrays of anonymous types may be created with implicit typing.

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

Got any C# Language Question?