By tag: Anonymous
0
kicks
Share C# Anonymous Types across Functions and Scope
So earlier today I was lamenting that an anonymous type can't be shared between functions with Wes Dyer, when he said "Well actually they can..."
0
kicks
Getting Started with LINQ - Part 2 (Language Enhancements)
In my previous post I summarized Microsoft Language Integrated Query (LINQ). Briefly discussed about its components as well as showed some code examples to highlight the sql query type syntax it uses. When we talk about LINQ, we are talking about number of little features that were added in .net 3.0...
0
kicks
Using anonymous types to shape data
Lets say you are writing a piece of software for a call center to use and you need to display values from multiple classes in your object model in a single DataGridView...
The problem is that you cannot bind a DataGridView column to a second-level property without writing TypeDescriptionProvider ...