CSE681 - Software Modeling and Analysis
Lecture #4 - C#
Revised: 04 June 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.
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
-
The Syllabus describes topics to be covered,
reading material for you to digest before coming to class, and due dates
for the assigned projects.
-
Visual Studio Help Session - Thurs, June 08, 7:30 pm, 010 Link
-
Project Upload instructions
-
Project #1,
Project #2
-
Detecting data declarations:
-
remove prefix operators, e.g., * (pointers in unsafe code)
-
remove postfix operators, e.g., = (initializing an array) and everything that follows
-
remove all modifier keywords
-
what is left is a type and a name
C# Keywords
Grammar Prototype
-
C# versus C++
-
.Net Framework Library
-
Programming in C#
-
Delegate Structure
-
Delegates Demo
Delegates support the publish/subscribe idiom and provide major support for .Net's event model.
-
Demo Command Line and File Handling
-
Collectons Demo
Simple tokenizing demonstration as part of a HashTable test.
-
conversions Demo
-
Interface-based Programming
This solution illustrates how to build a program composed with an executive and components on which it depends.
-
Basic C# and Forms Tutorials,
GotDotNet Forms Tutorial,
-
Basic Windows Programming - Core Technologies
-
Basic Windows Presentation
-
Basic Windows Demos
-
Pr2HelperF05
-
C# Form Demo
-
Form with Browse Control