Quote Originally Posted by kuldevbhasin View Post
thankx jmc for replying. i am using 3.5 as i am using vb.net 2008
That doesn't necessarily follow as VB 2008 can target .NET 2.0, 3.0 or 3.5.

You'll need to have imported the System.Linq namespace.