CSE Core Technology

Resource #1 - Introduction to C#

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

Contents

Web Resources:

Code Project Windows Forms Code Guru Win32, COM, MFC Windows Developer's Journal GotDotNet

Content:

C# Tutorials

MSDN C# Tutorials
MSDN C# ref
MSDN .Net Framework Reference
MSDN .Net Framework Namespaces

University of Linz
DotNetinSamples book from www.skilldrive.com - a large doc file
SoftSteel
GotDotNet
CSharp Station
JaggerSoft
Using the IDE
ProgrammingTutorials links

Presentations

C# vs C++
Comparison of the C# and C++ object models and an introduction to the structure of C# programs and Framework Class Libraries.
Summary of .Net Framework Class Libraries
Glimpse of the most important types in the various Framework namespaces.
C# Programming
Discusses managed code, garbage collection, and interfaces.

Introduction to C#
Presentation from www.GotDotNet.com
Advanced C#
Presentation from www.GotDotNet.com
Advanced Framework Topics
Presentation from www.GotDotNet.com

Some Code Samples

Basic Syntax

HelloWorld
A very basic CSharp console application.
helpSession
Shows how to create console and WinForm applications.
C# Syntax Examples
Syntax for arrays, indexers, disposing, properties, and accessing type information using reflection.
ProgramStructure
Illustrates how to lay out a C# program using an executive and server module. Also shows correct format for manual and maintenance pages.
conversions
Illustrates how to convert between numeric types and their string representations.
collections
Demonstrates use of HashTable and SortedList collections.

File Handling

commandLine
Shows how to read command line, extract file patterns, and find matching files.
demoFiles
Demonstrates the use of Directory, Path, and StreamReader classes to find, open, and read file text.
Navigate
Demonstrates how to navigate a directory subtree using Directory and Path classes.
Navigate With Delegates
Shows how to make navigation a reusable component via delegates.

More Advance Topics

Delegate Demos
Carefully demonstrates delegates, events, and a simple application of threading with delegates.
Reflection
Shows how to use some of the facilities of System.Reflection to inquire about an assembly's types.

Other Examples

C# Code Samples from MSDN
Code Samples from CSE681
Here you will find more advanced C# code examples, along with a lot of code specific to this class.
Code Samples from CSE775
This links to code from Distributed Objects, where you will find some advanced C# applications, along with a lot of code specific to CSE775.