I want to map my Dictionary<int, string>
to a List<Customer>
where Customer
has two properties Id
and Name
. Now I want to map my integer Key
of the dictionary to the List<Customer>[i].Key
property and Value
of the dictionary to List<Customer>[i].Name
iteratively.
Need help for the same.