An easy to dictionary conversion example.
Example:
using System; using System.Linq; using System.Collections.Generic;
class LinqToDictionaryExample { static void Main(string[] args) {
var empRecords = new[] { new {EmpName = “Employee1″, Salary = “5200″}, new {EmpName = “Employee2″, Salary = “7200″}, new {EmpName = “Employee3″, Salary = “6300″}, };
var empRecordsDict = [...]
