Geeks With Blogs
Dheeman Dutta Just Another Blog.....

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

Posted on Sunday, May 17, 2009 10:39 PM | Back to top


Comments on this post: Usng List.Exists<>

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Dheeman Dutta | Powered by: GeeksWithBlogs.net