Posts tagged with c--3-0

Nov 19 2008

C# 3.0 Feature of the Day: Dictionary Initialisation

Today I found myself needing to write a simple property that scrapes all of the values off of the form and returns them as a dictionary (keyed by the field name). Here is the C# 2.0 way of doing t...