MOC 20483 - Programming in C#


Request an offer for delivery of this course

Course duration

Course Outline

This C# training course teaches developers the programming skills that are required for developers to create Windows applications using the C# language. During this training, students review the basics of C# program structure, language syntax, and implementation details, and then consolidate their knowledge throughout the week as they build an application that incorporates several features of the .NET Framework 4.5.

This course is intended for experienced developers who already have programming experience in C, C++, JavaScript, Objective-C, Microsoft Visual Basic, or Java and understand the concepts of object-oriented programming.

This course is not designed for students who are new to programming; it is targeted at professional developers with at least one month of experience programming in an object-oriented environment.

  1. Review of C# Syntax
    1. Overview of Writing Applications using C#
    2. Datatypes, Operators, and Expressions
    3. C# Programming Language Constructs
    4. Lab: Developing the Class Enrolment Application
      1. Implementing Edit Functionality for the Students List
      2. Implementing Insert Functionality for the Students List
      3. Implementing Delete Functionality for the Students List
      4. Displaying the Student Age
  2. Creating Methods, Handling Exceptions, and Monitoring Applications
    1. Creating and Invoking Methods
    2. Creating Overloaded Methods and Using Optional and Output Parameters
    3. Handling Exceptions
    4. Monitoring Applications
    5. Lab: Extending the Class Enrolment Application Functionality
      1. Refactoring the Enrolment Code
      2. Validating Student Information
      3. Saving Changes to the Class List
  3. Developing the Code for a Graphical Application
    1. Implementing Structs and Enums
    2. Organizing Data into Collections
    3. Handling Events
    4. Lab: Writing the Code for the Grades Prototype Application
      1. Adding Navigation Logic to the Application
      2. Creating Data Types to Store User and Grade Information
      3. Displaying User and Grade Information
  4. Creating Classes and Implementing Type-safe Collections
    1. Creating Classes
    2. Defining and Implementing Interfaces
    3. Implementing Type-safe Collections
    4. Lab: Adding Data Validation and Type-safety to the Grades Application
      1. Implementing the Teacher, Student, and Grade Types as Classes
      2. Adding Data Validation to the Grade Class
      3. Displaying Students in Name Order
      4. Enabling Teachers to Modify Class and Grade Data
  5. Creating a Class Hierarchy by Using Inheritance
    1. Creating Class Hierarchies
    2. Extending .NET Framework Classes
    3. Creating Generic Types
    4. Lab: Refactoring Common Functionality into the User Class
      1. Creating and Inheriting from the User Base Class
      2. Implementing Password Complexity by Using an Abstract Method
      3. Creating the ClassFullException Class
  6. Reading and Writing Local Data
    1. Reading and Writing Files
    2. Serializing and Deserializing Data
    3. Performing I/O Using Streams
    4. Lab: Generating the Grades Report
      1. Serializing the Data for the Grades Report as XML
      2. Previewing the Grades Report
      3. Persisting the Serialized Grades Data to a File
  7. Accessing a Database
    1. Creating and Using Entity Data Models
    2. Querying Data by Using LINQ
    3. Updating Data by Using LINQ
    4. Lab: Retrieving and Modifying Grade Data
      1. Creating an Entity Model from the The School of Fine Arts Database
      2. Updating Student and Grade Data Using the Entity Framework
      3. Extending the Entity Model to Validate Data
  8. Accessing Remote Data
    1. Accessing Data Across the Web
    2. Accessing Data in the Cloud
    3. Lab: Retrieving and Modifying Grade Data in the Cloud
      1. Creating a WCF Data Service for the SchoolGrades Database
      2. Integrating the WCF Data Service into the Application
      3. Retrieving Student Photographs Over the Web (if time permits)
  9. Designing the User Interface for a Graphical Application
    1. Using XAML to Design a User Interface
    2. Binding Controls to Data
    3. Styling a User Interface
    4. Lab: Customizing Student Photographs and Styling the Application
      1. Customizing the Appearance of Student Photographs
      2. Styling the Logon View
      3. Animating the StudentPhoto Control (If Time Permits)
  10. Improving Application Performance and Responsiveness
    1. Implementing Multitasking by using Tasks and Lambda Expressions
    2. Performing Operations Asynchronously
    3. Synchronizing Concurrent Access to Data
    4. Lab: Improving the Responsiveness and Performance of the Application
      1. Ensuring that the User Interface Remains Responsive When Retrieving Data for Teachers
      2. Providing Visual Feedback During Long-Running Operations
  11. Integrating with Unmanaged Code
    1. Creating and Using Dynamic Objects
    2. Managing the Lifetime of Objects and Controlling Unmanaged Resources
    3. Lab: Upgrading the Grades Report
      1. Generating the Grades Report by Using Microsoft Office Word
      2. Controlling the Lifetime of Word Objects by Implementing the Dispose Pattern
  12. Creating Reusable Types and Assemblies
    1. Examining Object Metadata
    2. Creating and Using Custom Attributes
    3. Generating Managed Code
    4. Versioning, Signing and Deploying Assemblies
    5. Lab: Specifying the Data to Include in the Grades Report
      1. Creating the IncludeInReport Attribute
      2. Generating the Report
      3. Storing the Grades.Utilities Assembly Centrally
  13. Encrypting and Decrypting Data
    1. Implementing Symmetric Encryption
    2. Implementing Asymmetric Encryption
    3. Lab: Encrypting and Decrypting Grades Reports
      1. Encrypting the Grades Report
      2. Decrypting the Grades Report

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).

InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)

For an overall view of our offerings, please visit us at