convert an object to dictionary with linq c# code example Example: c# linq to dictionary var dict = TableObj.ToDictionary( t => t.Key, t => t.TimeStamp );