Main

1st lecture -- overview of .NET technologies, C# overview

Slides from the lecture:

Slides from the seminar:

Source codes:

Notes, corrections etc.

  • In CSharpFeatures.cs, there is another "cool" feature of C# 3.0. This feature makes creation of properties very easy in certain cases. See MSDN
  • The answer to the question "does select always return something that is of type IEnumerable" is "yes, it does". The select statement is translated to the method Select by the compiler. Return type of this method is IEnumerable.
  • Someone has asked me when you should rely on type inference and when it is better to state the type of a variable explicitly. I have scanned some recommendations from the book "Programming Microsoft LINQ" by Paolo Pialorsi and Marco Russo. See the scanned page.