This lecture continues our introduction to the C# programming language.
We will focus on code examples.
Web Resources:
UML
XML, HTML
Code Project
Microsoft Developer's Network
DevelopMentor
XML
Sells Brothers
Windows Developer's Journal
WindowsClient.net
DotNetJunkies
dotnet quickstart tutorials
C# Corner
Mono Project
Performance Counters
Specifics:
- The Syllabus describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
- Project #1, Project #2, Recursive Navigation, XML processing with LINQ
- .Net Framework Library
-
C# Syntax Examples
Demonstrates use of arrays, properties, indexers, simple reflection, and disposing.
Passing value and refence types by value and ref
These four cases all have different semantics.
Demo Command Line and File Handling
Using command line arguments to find and open files.
Collectons Demo
Simple tokenizing demonstration as part of a HashTable test.
.Net containers
Use of ArrayList, List<T>, LinkedList, SortedList, HashTable, HashSet<T>, Queue<T>, Stack<T>
Delegate Structure, Delegates Demos
Delegates support the publish/subscribe idiom and provide major support for .Net's event model.
Navigate Directory Trees
Shows how to walk through a directory tree, using the services of the Directory and Path classes from the Framework Class Library (FCL).
Navigate with Delegates
Shows how to make the Navigate module reusable by incorporating delegates. - Programming in C#
-
Using Dynamic Link Libraries (DLLs)
Shows how to build and execute dynamic link libraries - make sure you study both the code and comments in this demonstration.