using System.Collections.Generic;
public static void Main()
var dict = new Dictionary<int, string>();
var res = dict.Where(x => x.Value == "Two").First();
Console.WriteLine(res.Key);
Console.WriteLine(res.Value);
var numbers = new List<int>(){ 5, 6, 3, 1, 9, 7, 2, 4, 0};
var res1 = numbers.Where(y => y > 3 && y < 7).ToList();
foreach(int item in res1)
foreach(int item in res1)