C# .Net 3.0

C# 3.0's extension methods (static methods that can be invoked using instance method syntax) language feature lets you add methods to existing types without having to derive from those types or recompile source code. Consider the following example: using System.Linq; // … int[] grades = { 80, 93, 68, 74, 87, 96 }; Console.WriteLine ("Array [...]

C# is a statically-typed language (type checking is performed by the compiler, as opposed to being performed at run-time), which implies that variables must be associated with types at compile-time. Prior to version 3.0, you had to include the type name in a variable declaration: string name = "CoderSource.net"; In the context of generics, this [...]