Visual Studio 2010

Learning to Program using Microsoft C Sharp 2010
(Microsoft Training Course: F1044) - 3 days - £1150 exc VAT

> Target Audience
This course provides students with the knowledge and fundamentals skills to design and develop object-oriented applications using C# and the Microsoft .NET development environment. It is intended for potential developers with limited programming experience, who want to improve their skills.
> Course outline
  1. Getting Started with .NET
  2. Data Types and Variables
  3. Using the .NET Framework
  4. Branching and Flow Control
  5. Classes and Objects
  6. Properties and Methods
  7. Object-Oriented Techniques
  8. Working with Arrays
  9. Handling Exceptions

Module 1: Getting Started with .NET
  • This module provides an introduction to the .NET Framework and describes how to set up your development environment using Visual Studio 2010.
  • Thinking About .NET
  • Using Visual Studio 2010
  • Introduction to Debugging and Handling Exceptions
  • Lab: Getting Started with .NET
  • Learn the advantages and architecture of the .NET Framework.
  • Setup a development profile in Visual Studio .NET.
  • View the code that Visual Studio generates and understand what it does.
Module 2: Data Types and Variables
  • This module describes how to work with the data types provided by the .NET Framework.
  • Introduction to Variables and Data Types
  • Working with Variable and Data Types
  • Lab: Data Types and Variables
  • Understand how to create variables and assign values.
  • Explore operators and see how they can be used to change values and compare expressions.
Module 3: Using the .NET Framework
  • This module describes how to use the .NET Framework Class Library and examines some of the classes contained within.
  • Using .NET Framework Classes
  • Working with Strings
  • Working with Dates and Times
  • Lab: Using the .NET Framework
  • Understand how to use .NET Framework classes.
  • Explore basic file IO operations.
  • Learn how to work with strings.
Module 4: Branching and Flow Control
  • This module describes how to repeat code using looping statements and test conditions for branching statements.
  • Branching in Code
  • Repeating Code Blocks
  • Unconditional Branching
  • Lab: Branching and Flow Control
  • Making choices using conditional statements.
  • Manage flow control using branching statements.
  • Break out of loops when necessary.
Module 5: Classes and Objects
  • This module describes how to create and interact with classes and objects.
  • Introduction to Objects and Classes
  • Creating your own Classes
  • Working with Classes
  • Lab: Classes and Objects
  • Investigate .NET Framework classes to see how you can consume classes in your code.
  • Learn about properties, methods, and fields.
  • Create instances of classes using class constructors.
  • Investigate class details, including reference vs. value types, and more.
Module 6: Properties and Methods
  • This module describes how to define the properties and methods for your classes.
  • Understanding Properties
  • Understanding Methods
  • Lab: Properties and Methods
  • Explore how to use properties in your classes.
  • Learn to control how property values are set and retrieved.
  • Understand how to pass arguments to methods.
  • Learn how to return both simple and complex data types from methods.
Module 7: Object-Oriented Techniques
  • This module describes the techniques for organizing your classes and using interfaces.
  • Inheritance
  • Interfaces
  • Organizing Classes
  • Lab: Object-Orientated Techniques
  • Understand how derived classes inherit from base classes.
  • Explore how to add and modify members in derived classes.
  • Understand how to create and use interfaces.
  • Explore techniques for organizing your classes.
Module 8: Working with Arrays
  • This module describes how to create and work with array objects in .NET.
  • Introduction to Arrays
  • Manipulating Arrays
  • Creating Indexers
  • Lab: Working with Arrays
  • Create and initialize arrays.
  • Work with array methods and properties.
  • Investigate arrays in the .NET Framework.
  • Learn techniques for sorting arrays.
Module 9: Handling Exceptions
  • This module describes how to catch and then handle unexpected errors in code.
  • Perspectives on Exception Handling
  • Getting Started with Exception Handling
  • Catching Specific Exceptions
  • Raising Errors
  • Running Code Unconditionally
  • Creating Exception Classes
  • Lab: Handling Exceptions
  • Learn to use try/catch blocks to handle runtime errors.
  • Throw exceptions back to procedure callers.
  • Use the finally block to run code unconditionally.
  • Create and handle user-defined exceptions.
> Pre-Requisites
Before attending this course, students must have the following pre-requisites:
  • Basic programming knowledge.
  • No specific skills with Visual Studio 2010 or the .NET Framework are required.
> Purpose
After completing the course, students will be able to create Console Application projects in Visual Studio .NET 2010; convert a variable from one data type to another; work with dates and times; repeat blocks of code using looping statements; generate and test your own classes using the Class Designer and Object Test Bench tools; use methods in your classes; control how derived classes inherit from base classes; create classes containing arrays, adding support for indexers and enumerators; use Exception objects to determine what error has occurred.