How do I join a list of strings with guids into a dictionary?
I've got a list like so:
new List<String> { "alex", "liza", "harry" }
I'd like to create a dictionary like:
new Dictionary<Guid, String> {
{
"97085fe7-4717-4b70-95aa-80be9b1bfb47",
"alex"
},
{
"f88a41c2-27ac-47c5-a967-a4cdc2c6171c",
"liza"
},
{
"2a6adaac-23b4-4d6e-9fb4-610d4c14e231",
"harry"
}
}
How do I zip
a random list of Guids together with a list of strings?