C Sharp (C#) and the Microsoft .NET Framework
This is an archive of an early set of lectures on the then new
Microsoft .NET Framework and the C# programming language.
An understanding of programming and familiarity with a C or
Java like language is assumed. An updated version of this
introduction is used internally.
The lectures are largely based on simple code examples
showing the use of all C# keywords and language features.
It should be noted that the C# language was extended in 2003
to include additional features, including Generics -- the
slides do not cover these new features.
The slide sets are best viewed as
a slideshow -- after selecting the lecture, click on the
projection screen icon at the bottom right corner of the
screen once the first slide is displayed.
The first lecture sets the scene by describing the
fundamentals of the Microsoft .NET Framework.
A range of issues from the unified type system to
security and garbage collection are covered.
This should be covered before looking at any of the
The first lecture on C# covers the type system,
boxing and un-boxing, classes and instances,
variables and constants, properties, and
the basic control structures.
This lecture looks at exception handling, namespaces,
polymorphism, collections, arrays, structures,
enumerators and security access rights.
We continue by looking at Indexing, overloading and
parameter passing using in, out and ref. The lecture
then moves on to discuss safe type casting and
manipulation using is a and as.
Finally expression evaluation is considered.
In the final lecture on C# we discuss accessing existing
libraries/ DLLs, delegates, events, threads, garbage
collection, networking and web services, accessing
databases using SQL and ADO, datasets, dataviews and
Lectures © Andrew Scott, 2001
© Andrew Scott 2006 -
All Rights Reserved