CSE681 - Software Modeling and Analysis

Lecture #4 - C#

Revised: 04 June 2006
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
Lecture #15 Lecture #16 Lecture #17 Lecture #18 Lecture #19 Lecture #20 Other Notes

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.

C# Tutorials

MSDN C# ref
University of Linz C# Tutorial
MSDN - getting started with C#
Win32 API to .Net Map
Intro to C# Tutorial and Advanced C# Tutorial
  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. Visual Studio Help Session - Thurs, June 08, 7:30 pm, 010 Link

  3. Project Upload instructions
  4. Project #1, Project #2
  5. Detecting data declarations:
    1. remove prefix operators, e.g., * (pointers in unsafe code)
    2. remove postfix operators, e.g., = (initializing an array) and everything that follows
    3. remove all modifier keywords
    4. what is left is a type and a name
    C# Keywords
    Grammar Prototype
  6. C# versus C++
  7. .Net Framework Library
  8. Programming in C#
  9. Delegate Structure
  10. Delegates Demo
    Delegates support the publish/subscribe idiom and provide major support for .Net's event model.
  11. Demo Command Line and File Handling
  12. Collectons Demo
    Simple tokenizing demonstration as part of a HashTable test.
  13. conversions Demo
  14. Interface-based Programming
    This solution illustrates how to build a program composed with an executive and components on which it depends.
  15. Basic C# and Forms Tutorials,  GotDotNet Forms Tutorial, 
  16. Basic Windows Programming - Core Technologies
  17. Basic Windows Presentation
  18. Basic Windows Demos
  19. Pr2HelperF05
  20. C# Form Demo
  21. Form with Browse Control