in
tri
home of the trivadians

Nach Ordnungsbegriffen durchsuchen

  • Can You Pass an Anonymous Type Across Functions?

    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 value = GetAnonymousValue(); var name = value.Name;...
    Erstellt in Richard's blog (Weblog) von Anonymous am 01-08-2008
Seite 1 von 1 (1 Treffer)
/