Tag: Conversion Operators


LINQ Operators ASP.NET

What is a LINQ operator? LINQ operators are a collection of 50 methods. These operators can execute against diverse data sources. Operators can be used locally to query an object in memory but can also be used when working with objects stored in a relational database, in XML, behind a web service and more. Lets […]


Conversion Operators LINQ Part 3

LINQ Operators in ASP.NET – Conversion Operators Original Post Conversion operators are used primarily for returning different types. They can be used to return to only particular elements from a collection. AsEnumerable = Returns its argument typed as IEnumerable. Cast = Casts the elements of a sequence to a given type. OfType = Filters the […]