I have a Dictionary dictionary1 and I need to convert it into a List where Data has the properties lab
Dictionary dictionary1
List
Data
lab
Try
dictionary1.Select(p => new Data(p.Key, p.Value)).ToList();