C# Tutorial

Hanspeter Mössenböck
University of Linz

This tutorial was given at the Microsoft .NET Crash Course in Cambridge on March 25-28, 2002.

C# is Microsoft's new programming language for the .NET platform. It combines some of the best features of modern programming languages such as Java, C++ or Visual Basic. C# is an object-oriented language with single inheritance but multiple interfaces per class. It supports component-based programming by properties (smart fields), events and delegates (enhanced function pointers). C# is fully interoperable with other .NET languages such as VB.NET, Eiffel.NET or Oberon.NET.

This course is a C# tutorial for programmers who are already familiar with Java or similar languages. It starts out with basic C# features such as types, expressions, statements and object-orientation and continues with more advanced features such as threads, attributes, namespaces and assemblies. It also provides a short glimpse into .NET's base class library.

Slides