About Us
Education and Training
Education and Training

Consulting
Gifts
Contacting Us
Employment
The Pantheon Systems Journal
Home

Pantheon Systems, Inc.
The Object Technology Company

Programming in C#
A Practical Introduction

Duration:  5 days

Class Size: Up to 12 students

Who should attend?
Software engineers, programmers, designers, software architects.

Prerequisites :

  • Knowledge of C++, Java or any other object-oriented programming language.

What will you learn?

  • What is C#, and its brief history
  • Syntax and structure of the C# Programming Language
  • Key elements of the C# API
  • How to build applications using C#.

Course Contents

  • Why C#?
    Genesis, features and architecture. Key similarities and differences from other OO languages. Environmental issues - .NET, Windows, etc.

  • Language fundamentals
    Basic syntax and constructs. The C# type system - value and reference types and type conversion. Writing, building and running your first C# program.

  • Classes, Objects and Namespaces
    Classes in C#. Structs Vs. Classes. Creating instances. Member variables and functions. Client access to members. Namespaces and namespace nesting. Static Vs. instance members. Constants and Readonly fields.

  • Properties
    Why Properties? Creating properties - read-only, write-only and read-write.

  • Inheritance
    Inheritance in C#. The base class Object. The String class. Common Object features - Equals() and ToString(). Using inheritance to build flexible canonical designs. Abstract classes and Sealed classes.

  • Polymorphism
    Polymorphism in C# - differences from C++ and Java. virtual, new and override. Practical applications of polymorphism. Versioning.

  • Interfaces
    Multiple inheritance without the pain. Using interfaces to simulate multiple behavior. Extending interfaces.

  • Operator Overloading
    Need for operator overloading. Practical examples of operator overloading. When not to overload an operator. Which operators cannot be overloaded.

  • Arrays, indexers and collections
    Arrays in C#. Multi-dimensional and variable dimension arrays. Why indexers? Creating an indexer. The foreach statement. C# collection interfaces - IList, IComparer, IDictionary, etc. The C# collection classes - ArrayList, Queue and Hashtable.

  • Strings and Regular Expressions
    Creating and manipulating strings. Comparing strings. Substrings. Regular expression parsing - the Regex and Capture classes.

  • Exception Handling
    What is an exception? Exception-related keywords - throw, catch and finally. The System.Exception class. Handling exceptions. Creating your own exception class.

  • Delegates and Events
    What is a delegate? Why delegates? The keyword delegate. Delegation as an alternative to inheritance. Events as delegates. Role of events in interactive applications. A Windows example.

  • Multithreading
    What is multithreading? Threads and Synchronization. Problems with synchronization - deadlock.

  • Streams and Files
    Accessing the directory system in C#. C# Stream classes. File reading and writing. Asynchronous and network I/O. Serialization.

  • Building Windows Applications in C#
    What can you do? Controls, Windows, Forms and Menus. Windows application structure in C#. The System.Drawing classes. Using GDI and GDI+. Using Events and delegates to create interactive applications.

  • Pulling it all together
    What have we learned? What is ahead? Review and References. Conclusion.

Registration | Calendar | Curriculum | After Hours | Forms | Schedules/Pricing

Copyright© Pantheon Systems, Inc. All rights reserved.