Main
1st lecture -- overview of .NET technologies, C# overview
Slides from the lecture:
Slides from the seminar:
Source codes:
- HelloWorld.cs
- CSharpFeatures.cs (this file was created just to put many significant features at the screen, it is by no means an example of good coding habits!)
- SimpleDataStructures.zip
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 typeIEnumerable
" is "yes, it does". Theselect
statement is translated to the method Select by the compiler. Return type of this method isIEnumerable
. - 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.