CSE681 - Software Modeling and Analysis
Lecture #3 - The C# Programming Language
Revised: 13 May 2006
Web Resources:
UML
XML, HTML
Code Project
Microsoft Developer's Network
DevelopMentor
XML
Sells Brothers
Windows Developer's Journal
Windows Forms
DotNetJunkies
GotDotNet
C# Corner
Mono Project
Content:
This lecture is an introduction to the C# programming language and WinForms-based windows
programs. We will cover the basic C# language, some of its unique features, and present several
examples. Following a break we will discuss creating Windows Applications using WinForms, again
presenting several examples.
-
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
-
Revised Project #2
-
C# - Core Technologies
-
C# versus C++
-
Hello World in C#,
Console Application Wizard
-
.Net Framework Library
-
C# Syntax Examples
-
Demo Command Line and File Handling
-
Collectons Demo
Simple tokenizing demonstration as part of a HashTable test.
-
modules
-
Interface-based Programming
This solution illustrates how to build a program composed with an executive and components on which it depends.
-
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.