var list = new List<string>(); var queryable = list.AsQueryable();
Add a reference to: System.Linq
System.Linq