Advertisement
Kuraj

Untitled

May 9th, 2011
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.36 KB | None | 0 0
  1.             var query1 =
  2.                 from    line in File.ReadAllLines("plik.txt")
  3.                 let     liczba = Convert.ToInt32(line)
  4.                 where   liczba > 100
  5.                 orderby -liczba
  6.                 select  liczba;
  7.             foreach (int liczba in query1)
  8.             {
  9.                 Console.WriteLine(liczba);
  10.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement