linq orderbydescending c# code example
Example 1: C# linq mselect
var users = new List<Users>()
var names = users.Select(xx=> xx.Name);
Example 2: c# keyvaluepair
// When you use foreach to enumerate dictionary elements,
// the elements are retrieved as KeyValuePair objects.
Console.WriteLine();
foreach( KeyValuePair<string, string> kvp in openWith )
{
Console.WriteLine("Key = {0}, Value = {1}",
kvp.Key, kvp.Value);
}