I would recommend this to anyone who prefers online training More Testimonials »

MOC 10266 - Programming in C# 4.0 with Microsoft Visual Studio 2010

Delivery Options

Class Date and Time Price Pricing Information
$2,375.00
or 5 vouchers vouchers
$2,375.00 or 5 vouchers vouchers
$2,375.00 or 5 vouchers vouchers

Class Description

Class Overview

This C# 4.0 class is designed for people who are new to .NET 4.0. The course highlights the structure of C# 4.0 programs, language syntax, and implementation details.

This C# course provides the prerequisite C# language knowledge necessary to begin learning to build ASP.NET 4.0 and Windows applications using C#; however, students do not learn to build those applications in this course.

Class Goals

  • Understand the syntax of basic C# programming constructs.
  • Learn to create and call methods in a C# application.
  • Learn to catch, handle and throw exceptions.
  • Learn to perform basic file IO operations in a C# application.
  • Learn to create and use new types (enumerations, classes, and structures), and understand the differences between reference types and value types.
  • Learn to control the visibility and lifetime of members in a type.
  • Learn to use inheritance to create new reference types.
  • Learn to manage the lifetime of objects and control the use of resources.
  • Learn to define properties and indexers to encapsulate data, and define operators for this data.
  • Learn to decouple an operation from the method that implements an operation, and use these decoupled operations to handle asynchronous events.
  • Learn to use collections to aggregate data, and use Generics to implement type-safe collection classes, structures, interfaces, and methods.
  • Learn to implement custom collection classes that support enumeration.
  • Learn to query in-memory data by using LINQ.
  • Learn to integrate code written by using a dynamic language such as Ruby and Python, or technologies such as COM, into a C# application.

Class Outline

  1. Introducing C# and the .NET Framework
    1. Introduction to the .NET Framework
    2. Creating Projects Within Visual Studio 2010
    3. Writing a C# Application
    4. Building a Graphical Application
    5. Documenting an Application
    6. Running and Debugging Applications by Using Visual Studio 2010
    7. Lab: Introducing C# and the .NET Framework
      1. Building a Simple Console Application
      2. Building a WPF Application
      3. Verifying the Application
      4. Generating Documentation for an Application
  2. Using C# Programming Constructs
    1. Declaring Variables and Assigning Values
    2. Using Expressions and Operators
    3. Creating and Using Arrays
    4. Using Decision Statements
    5. Using Iteration Statements
    6. Lab: Using C# Programming Constructs
      1. Calculating Square Roots with Improved Accuracy
      2. Converting Integer Numeric Data to Binary
      3. Multiplying Matrices
  3. Declaring and Calling Methods
    1. Defining and Invoking Methods
    2. Specifying Optional Parameters and Output Parameters
    3. Lab: Declaring and Calling Methods
      1. Calculating the Greatest Common Divisor of Two Integers by Using Euclid's Algorithm
      2. Calculating the GCD of Three, Four, or Five Integers
      3. Comparing the Efficiency of Two Algorithms
      4. Displaying Results Graphically
      5. Solving Simultaneous Equations (optional)
  4. Handling Exceptions
    1. Handling Exceptions
    2. Raising Exceptions
    3. Lab: Handling Exceptions
      1. Making a Method Fail-Safe
      2. Detecting an Exceptional Condition
      3. Checking for Numeric Overflow
  5. Reading and Writing Files
    1. Accessing the File System
    2. Reading and Writing Files by Using Streams
    3. Lab: Reading and Writing Files
      1. Building a Simple Editor
      2. Making the Editor XML Aware
  6. Creating New Types
    1. Creating and Using Enumerations
    2. Creating and Using Classes
    3. Creating and Using Structs
    4. Comparing References to Values
    5. Lab: Creating New Types
      1. Using Enumerations to Specify Domains
      2. Using a Struct to Model a Simple Type
      3. Using a Class to Model a More Complex Type
      4. Using a Nullable Struct
  7. Encapsulating Data and Methods
    1. Controlling Visibility of Type Members
    2. Sharing Methods and Data
    3. Lab: Encapsulating Data and Methods
      1. Hiding Data Members
      2. Using Static Members to Share Data
      3. Implementing an Extension Method
  8. Inheriting From Classes and Implementing Interfaces
    1. Using Inheritance to Define New Reference Types
    2. Defining and Implementing Interfaces
    3. Defining Abstract Classes
    4. Lab: Inheriting From Classes and Implementing Interfaces
      1. Defining an Interface
      2. Implementing an Interface
      3. Creating an Abstract Class
  9. Managing the Lifetime of Objects and Controlling Resources
    1. Introduction to Garbage Collection
    2. Managing Resources
    3. Lab: Managing the Lifetime of Objects and Controlling Resources
      1. Implementing the IDisposable Interface
      2. Managing Resources Used By an Object
  10. Encapsulating Data and Defining Overloaded Operators
    1. Creating and Using Properties
    2. Creating and Using Indexers
    3. Overloading Operators
    4. Lab: Creating and Using Properties
    5. Defining Properties in an Interface
    6. Implementing Properties in a Class
    7. Using Properties Exposed By a Class
    8. Lab: Creating and Using Indexers
      1. Implementing an Indexer to Access Bits in a Control Register
      2. Using an Indexer Exposed by a Class
      3. Lab: Overloading Operators
      4. Defining the Matrix and MatrixNotCompatible Types
      5. Implementing Operators for the Matrix Type
      6. Testing the Operators for the Matrix Type
  11. Decoupling Methods and Handling Events
    1. Declaring and Using Delegates
    2. Using Lambda Expressions
    3. Handling Events
    4. Lab: Decoupling Methods and Handling Events
      1. Raising and Handling Events
      2. Using Lambda Expressions to Specify Code
  12. Using Collections and Building Generic Types
    1. Using Collections
    2. Creating and Using Generic Types
    3. Defining Generic Interfaces and Understanding Variance
    4. Using Generic Methods and Delegates
    5. Lab: Using Collections
    6. Optimizing a Method by Caching Data
    7. Lab: Building Generic Types
      1. Defining a Generic Interface
      2. Implementing a Generic Interface
      3. Implementing a Test Harness for the BinaryTree Project
      4. Implementing a Generic Method
  13. Building and Enumerating Custom Collection Classes
    1. Implementing a Custom Collection Class
    2. Adding an Enumerator to a Custom Collection Class
    3. Lab: Building and Enumerating Custom Collection Classes
      1. Implementing the IList TItem Interface
      2. Implementing an Enumerator by Writing Code
      3. Implementing an Enumerator by Using an Iterator
  14. Using LINQ to Query Data
    1. Using the LINQ Extension Methods and Query Operators
    2. Building Dynamic LINQ Queries and Expressions
    3. Lab: Using LINQ to Query Data
      1. Using the LINQ Query Operators
      2. Building Dynamic LINQ Queries
  15. Integrating Visual C# Code with Dynamic Languages and COM Components
    1. Integrating C# Code with Ruby and Python
    2. Accessing COM Components from C#
    3. Lab: Integrating C# Code with Dynamic Languages and COM Components
      1. Integrating Code Written by Using a Dynamic Language into a C# Application
      2. Using a COM Component from Visual C# Application

Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following areas would be beneficial:

  • Object-oriented programming
  • Some Experience with Visual Studio

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.

Potential Follow-on Classes

Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Locations
Compare Us
Watch 3-minute Demo Video
of Live Online Training:
Learn the benefits of online training with Webucator
Webucator is a Registered Education Provider (R.E.P.) approved by PMI to issue professional development units (PDUs) for our training courses.

Recent Blog Articles

How to Get Bound Objects to Notify the Silverlight UI of Property Changes

Posted on Jan 17, 2011 by Bruce

Check out this video on how to update the UI in Silverlight automatically when an bound object’s property changes. To view the video in full screen ...


.NET Framework: Using The BitVector32 Structure

Posted on Dec 01, 2010 by Christopher

In many cases, if you have not done an extensive review of the .NET Framework, you probably haven’t discovered some rather interesting features that exist.  ...


Creating SharePoint 2010 Dialog Windows

Posted on Nov 29, 2010 by Bruce

Check out this video demonstration of how to create a SharePoint 2010 dialog window. To view the video in full screen mode (recommended), press the “F” ...


Update Silverlight 4 Applications Running Out-Of-Browser

Posted on Nov 22, 2010 by Bruce

Check out this video demonstration of how to update a Microsoft Silverlight application running out-of-browser. To view the video in full screen mode (recommended), ...


SharePoint 2010 Developer Exams 70-573 and 70-576 Thoughts and Tips

Posted on Nov 15, 2010 by Bruce

Having recently sat and passed Microsoft SharePoint 2010 developer exams 70-573 and 70-576 I thought I would share what I used to prepare as well as thoughts ...

© Webucator, Inc. All rights reserved. | Toll Free: 1-877-932-8228 | From outside the USA: 315-849-2724| Fax: 315-849-2723