C #3.0 ("C # orcas") introduces several language extensions that build on C #2.0 to support the creation and use of Higher Order, functional style class libraries. the extensions enable construction of Compositional APIs that have equal expressive power of query extensions ages in domains such as relational databases and XML. the extensions include :( C #3.0 ( C # orcas -- Devil) in C #2.0 Many language extensions are introduced to support the creation and use of high-level functional style class libraries. These extensions make the structure API Constructor has a relationship with other fields (such as relational databases and XML . These extensions include :)
· implicitly typed local variables, which permit the type of local variables to be inferred from the expressions used Initialize them. ( local variables with implicit types allows you to deduce the type of a local variable by using an initialized expression .)
· extension methods, which make it possible to extend existing types and constructed types with additional methods.
( exhibition method makes it realistic to extend and construct an existing type with additional methods .)
· lambda expressions, an evolution of anonymous methods that provides improved type inference and conversions to both de Legate types and expression trees. ( Lambda ( lambda) expression , an evolution of anonymous methods, improved type inference and conversion are provided for the delegate type and Expression Tree. )
· Object initializers, which initialize construction and initialization of objects. ( Object initializer makes it easy to construct and initialize objects .)
· anonymous types, which are tuple types automatically inferred and created from object initializers. ( anonymous type , the types inferred and created by the object initiator .)
· implicitly typed arrays, A form of array creation and initialization that infers the element type of the array from Array initializer. ( arrays with implicit types , used to deduce the element type from the array initiator and create and initialize the array .)
· Query expressions, which provide a language integrated syntax for queries that is similar to relational and hierarchical query syntax ages such as SQL and XQuery .(Query expression, Provides integrated query syntax, and relationship, hierarchical query language suchSQLAndXQuerySimilar.)
· expression trees, which permit lambda expressions to be represented as data (expression trees) instead of as code (DEL Egates ). ( Expression Tree , allows the presentation of lambda expressions as data (Expression Tree ), instead of Code (delegate ). )