Wednesday, August 10, 2011

New C# 4.0 Features

Parameters

  • Optional

  • Named

  • Overload Resolution


Co- and Contravariance

  • Covariance - same relationships

  • Contracovariance - inverted relationships


dynamic

  • run-time

  • DLR - Dynamic Language Run-time


New Compiler Options

  • Embedding COM Interop type information

  • Specifying an app.config file to the C# compiler

No comments: