Architecture, Documentation, & Design
Systems
C# Programming & .Net Framework
Diagrams
|
C# Language Demos
-
C# Syntax Examples
Demonstrate arrays, properties, indexers, simple reflection on types, and disposing.
- C# Equivalence Demo
Distinguish between the four methods of determining object equivalence.
- C# .Net 3.5 extensions
Demonstrate extensions, LINQ, delegate shortcuts, lamdas.
- Delegate Demos,
Delegate Structure
Explain the Publish/Subscribe pattern supported by .Net delegates, discuss syntax.
- File Handling Demos
Demonstrates opening and reading files. Simple multi-package demo.
- Type Conversion Demos
Illustrates use of casts, primitive Parse functions, and Convert class.
- Collections Demos
Examples of Arrays, SortedList, HashTable, and GenericList.
- Command Line Handling
Discovers files in current directory matching a pattern from command line, opens each C# file, and reads a few lines.
- Navigate Directory tree
Executes a depth first walk of the directory tree rooted at a path specified on the command line.
- Reusable Navigation with Delegates
Makes the navigator, above, reusable with the help of delegates that provide file and directory notifications.
- Reflection Demo
Loads an assembly and uses reflection to inquire about its types.
Form Demonstrations
System Prototypes
-
Parser Prototype,
Parser Structure
Core of code and XML analyzer - has Tokenizer, TokenCollector, Parser, Rules, and Actions.
- Simplified Test Harness,
Test Harness,
Test Harness Structure
Test Harness loads assemblies, looks for ITest interface, creates test objects and executes them.
- Peer-to-Peer System Structure Diagrams
Model for communicating systems, uses WCF. Each peer has a message sender and receiver.
Special Purpose Reusable Packages
-
Concurrent Access to Files
Supports reading and writing to arbitrary files by concurrent clients. If concurrent read/write access all but one
client block until file stream is released. Supports unblocked concurrent reads.
|