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