This lecture continues our introduction to the C# programming language.
We will focus on code examples.
Web Resources:
UML
XML, HTML
Code Project
Microsoft Developer's Network
DevelopMentor
XML
Sells Brothers
Windows Developer's Journal
WindowsClient.net
DotNetJunkies
dotnet quickstart tutorials
C# Corner
Mono Project
Performance Counters
Specifics:
- The Syllabus describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
-
Projects:
-
Project #1
Operational Concept Document for Key/Value Database -
Project #2
Key/Value Database Implementation - Project2HelpF15 - Helper Code for Project #2 - 2015
-
Class relationships,
vsd
Illustrates inheritance, composition, aggregation, and using in class diagram. -
Object relationships,
vsd
Comparison of class and object relationships. - Visual Studio 2012 Help - Almost all of this content is relevant for VS2015
- Package notes
-
Project #1
-
.Net Framework Class Libraries
-
.Net Framework Library,
ppt
A brief introduction to the .Net Libraries. -
.Net Framework - Wikipedia
A discussion of the .Net execution environment and .Net libraries. -
.Net Framework Library Reference - MSDN
All the details about .Net Framework classes. -
.Net Framework 4.6 - MSDN
Discussion focused on the latest version of the .Net FCL. -
Microsoft API and Reference Catalog
Documentation for the Windows API on which .Net FCL is based.
-
.Net Framework Library,
ppt
-
Code Examples:
C# Demos
Illustrates basic classes, class relationships, generics, enumerables, and extension methods. C# Syntax Examples
Demonstrates use of arrays, properties, indexers, simple reflection, and disposing. Passing value and refence types by value and ref, Parameter Passing
These four cases all have different semantics. Demo Command Line and File Handling
Using command line arguments to find and open files. Collectons Demo
Simple tokenizing demonstration as part of a HashTable test. .Net containers
Use of ArrayList, List<T>, LinkedList, SortedList, HashTable, HashSet<T>, Queue<T>, Stack<T> Delegate Structure, Delegates Demos, Recent additions to C# - delegate shortcuts, lambdas, ...
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. - Programming in C#
-
Using Dynamic Link Libraries (DLLs)
Shows how to build and execute dynamic link libraries - make sure you study both the code and comments in this demonstration. - C# Code Examples and Tutorials:
-
Lecture Take-away:
The most important things we discussed today are: