Linq (Language Integrated Query) Overview
Short Description
Query facilities have been added to the .Net 3.5 Framework and as a result query is no longer opaque to the programming language,Thus, the query benefits from compile-time checking. LINQ provides standard query operators that allow queries to be applied to any IEnumerable-based information source which includes most colllections.
Website: www.sandkeysoftware.com | Filesize: 1284kb
No of Page(s): 24
Content
…For good encapsulation,writing Getters and Setters is a necessary but cumbersome tasks , this new feature makes the task much easier. …
Extension methods are new to C# 3.0.These allow you to add methods to an existing CLR type without recompiling the original. For example we might want to add a method to string that will validate an email address :…
Lambda Expressions provide a more concise, functional syntax for writing anonymous methods (Delegates). They end up being useful when writing LINQ query expressions, such as the Where method, whose parameter is of type Delegate (System.Func(T,TResult).
LINQ for Objects works with in-memory collections that inherits from IEnumerable (which is almost every c allows you to “declare” what you want done, and then sit back and let the computer figure out how to do it. You don’t have to write a series of imperative sequential statements that laboriously describe how to complete your task. This can really change how we program against collections , a task that is part of many business application.
…
Get the file Download here
Related Books:Related Searches: lambda expressions, functional syntax, query expressions, memory collections, sequential statements
Comments
Leave a Reply