Nach Ordnungsbegriffen durchsuchen

Alle Ordnungsbegriffe » Anonymous Types » .Net (RSS)

Can You Pass an Anonymous Type Across Functions? von .Net Smoothie

One of the biggest questions with Anonymous Types is “can I pass them around?” If not, why not? Can you do something like this, for example: var GetAnonymousValue() { return new { Name = “Richard Bushnell” }; } void Main() { var...