CSE681 - Software Modeling and Analysis

Lecture #2 - The C# Programming Language

Revised: 05 September 2005
Home Courses Code Handouts CoreTech Books Articles Math Research Masters Projects SWDev WebDev News OtherLinks SiteDesign Graduates AllPages Office Hours Notices Contents

CSE681-SWMAA CSE686-IP CSE687-OOD CSE775-DO CSE776-DP CSE778-AWP CSE784-SWS

Lecture #01 Lecture #02 Lecture #03 Lecture #04 Lecture #05 Lecture #06 Lecture #07
Lecture #08 Lecture #09 Lecture #10 Lecture #11 Lecture #12 Lecture #13 Lecture #14

Contents Syllabus

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

Office Hours: Instructor & TAs

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.
  1. The Syllabus describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
  2. Project #1
  3. Revised Project #2
  4. C# - Core Technologies
  5. C# versus C++
  6. Hello World in C#,  Console Application Wizard
  7. .Net Framework Library
  8. C# Syntax Examples
  9. Demo Command Line and File Handling
  10. Collectons Demo
    Simple tokenizing demonstration as part of a HashTable test.
  11. modules
  12. Interface-based Programming
    This solution illustrates how to build a program composed with an executive and components on which it depends.
  13. Delegate Structure
  14. Delegates Demos
    Delegates support the publish/subscribe idiom and provide major support for .Net's event model.
  15. 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).
  16. Navigate with Delegates
    Shows how to make the Navigate module reusable by incorporating delegates.
  17. Lecture #2 folder contains a page of links to presentations and code discussed in this class. The Lecture folders will occasionally hold physical files of interest as well. Usually, however, all the materials of interest to the class are in the presentations and code folders. The contents of these folders will grow as you progress through the course.