Dheeman Dutta

Just Another Blog.....

  Home  |   Contact  |   Syndication    |   Login
  39 Posts | 1 Stories | 29 Comments | 12 Trackbacks

News



Archives

Post Categories

.NET Links

Sunday, May 17, 2009 #

List ss = new List();

ss.Add(1);

ss.Add(3);

ss.Add(5);

ss.ForEach(delegate(int x)

{ if (x < 4) Console.WriteLine(x); });

 Console.ReadKey();

Also checked out that this is probably the best in compared to Foreach and For loops

 

Cheers