#region Linq 找出小于3的数 int[] a = {1,2,3,4,5,6}; var x = from n in a where n<3 select n; foreach (var i in x) { Console.WriteLine(i); } #endregion
#region Linq 找出小于3的数 int[] a = {1,2,3,4,5,6}; var x = from n in a where n<3 select n; foreach (var i in x) { Console.WriteLine(i); } #endregion