using System; using System.Linq; public class Test { public static void Main() { int[] msv = { -1, 2, 3, -4 }; var res = from n in msv where n > 0 select n; // 2, 3 for(int i in res) { Console.WriteLine(i); } } }