.NET Framework 3.5
C# v3.0 - Visual Studio 2008
Implicitly Typed Variables - var
Auto Implemented Properties
Make frequent use of anonymous types
These represent code in a tree-like data structure where each node is an expression (for example a method call or a binary operation).
You can instruct the compiler to create an expression tree for you based on an anonymous lambda expression.
You can also create expression trees manually using the System.Linq.Expressions namespace.
Language Intergrated Query (LINQ)
This is a name that incorporates a wide range of general purpose querying that can be down.
There can often be a lot of complexity around the actual data.
The common sources are relational databses and XML.
LINQ provides a standardised means to query information from many different data sources.
Rather than try and add specific (relational or XML) features to help with this complexity the approach has been more general.
Language integrated query allows a single general purpose declarative query facility to be applied to not just relational or XML based data but in-memory data as well.
LINQ defines a set of general purpose standard query operators that allow the traversal, filter and projection of information to be expressed in a direct and declarative way.
These standard query operators can be found in the System.Linq namespace.
LINQ can be divided into the following categories:
Collections > LINQ - Refers to extension methods that are available for all the classes that implement the IEnumerable or IEnumerable<T> interfaces.
XML > LINQ to XML - Refers to the use of the standard query operators as well as tree specific operators.
Office Interop API Extensions
These are a set of additional interop assemblies that can be referenced to make working with COM easier.
They provide the following additional functionality:
© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext