Professional Documents
Culture Documents
Outcomes
At the end of the course, students will be able to:
Explain the purpose of the .NET Framework, and understand how to use
C# and Visual Studio 2010 to build .NET Framework applications.
Understand the syntax of basic C# programming constructs.
Create and call methods in a C# application.
Catch, handle and throw exceptions.
Perform basic file IO operations in a C# application.
Create and use new types (enumerations, classes, and structures), and
understand the differences between reference types and value types.
Control the visibility and lifetime of members in a type.
Use inheritance to create new reference types.
Manage the lifetime of objects and control the use of resources.
Define properties and indexers to encapsulate data, and define operators
for this data.
Decouple an operation from the method that implements an operation, and
use these decoupled operations to handle asynchronous events.
Use collections to aggregate data, and use Generics to implement type-safe
collection classes, structures, interfaces, and methods.
Implement custom collection classes that support enumeration.
Query in-memory data by using LINQ.
Integrate code written by using a dynamic language such as Ruby and
Python, or technologies such as COM, into a C# application.
Course Details
Course code: 10266
Duration: 5days
Starting time: 9am
1300 86 87246 Finishing time: 4.30pm
1300 TO TRAIN
Booking guidelines
Contact our learning consultants on 1300 86 87246 and we will assist you with
your booking. Enter pre-requisites
ttttttt
For more information about any of our training courses, contact our Learning Consultants
on 1300 86 87246 or email us on info@advancedtraining.com.au
Course Outline 10266A Visit us on the web at www.advancedtraining.com.au
Version 2.0 July 2012
Course Outline
Module 1: Introducing C# • Calculating Square Roots with • Detecting an Exceptional
and the .NET Framework Improved Accuracy Condition
This module explains the .NET • Converting Integer Numeric • Checking for Numeric Overflow
Framework, and using C# and Data to Binary After completing this module,
Visual Studio 2010 for building .NET • Multiplying Matrices students will be able to:
Framework applications. After completing this module, • Describe how to catch and
Lessons students will be able to: handle exceptions
• Introduction to the .NET • Declare variables and assign • Describe how to create and raise
Framework values. exceptions
• Creating Projects Within Visual • Create expressions by using
Studio 2010 operators. Module 5: Reading and
• Writing a C# Application • Create and use arrays. Writing Files
• Building a Graphical Application • Use decision statements. This module explains how to
• Documenting an Application • Use iteration statements. perform basic file I/O operations in a
• Running and Debugging C# application.
Applications by Using Visual Module 3: Declaring and Lessons
Studio 2010 Calling Methods • Accessing the File System
Lab: Introducing C# and the This module explains how to create • Reading and Writing Files by
.NET Framework and call methods. Using Streams
• Building a Simple Console Lessons Lab: Reading and Writing Files
Application • Defining and Invoking Methods • Building a Simple Editor
• Building a WPF Application • Specifying Optional Parameters • Making the Editor XML Aware
• Verifying the Application and Output Parameters After completing this module,
• Generating Documentation for an Lab: Declaring and Calling students will be able to:
Application Methods • Describe how to access the file
After completing this module, • Calculating the Greatest system by using the classes that
students will be able to: Common Divisor of Two Integers the .NET Framework provides.
• Explain the purpose of the .NET by Using Euclid's Algorithm • Describe how to read and write
Framework. • Calculating the GCD of Three, files by using streams.
• Create Microsoft Visual C# Four, or Five Integers
projects by using Visual Studio • Comparing the Efficiency of Two Module 6: Creating New
2010. Algorithms Types
• Explain the structure of a C# • Displaying Results Graphically This module explains how to create
application. • Solving Simultaneous Equations and use new types (enumerations,
• Use the WPF Application (optional) classes, and structures)
template to build a simple After completing this module, Lessons
graphical application. students will be able to: • Creating and Using
• Use XML comments to document • Describe how to declare and call Enumerations
an application. methods • Creating and Using Classes
• Use the debugger to step through • Define and call methods that take • Creating and Using Structs
a program. optional parameters and output • Comparing References to Values
parameters Lab: Creating New Types
Module 2: Using C# • Using Enumerations to Specify
Programming Constructs Module 4: Handling Domains
This module explains the syntax of Exceptions • Using a Struct to Model a Simple
basic C# programming constructs. This module explains how to catch Type
Lessons exceptions and handle them. • Using a Class to Model a More
• Declaring Variables and Students will also learn how to Complex Type
Assigning Values throw exceptions. • Using a Nullable Struct
• Using Expressions and Operators Lessons After completing this module,
• Creating and Using Arrays • Handling Exceptions students will be able to:
• Using Decision Statements • Raising Exceptions • Describe how to create and use
• Using Iteration Statements Lab: Handling Exceptions enumerations.
Lab: Using C# Programming • Making a Method Fail-Safe • Describe how to create and use
Constructs classes.
For more information about any of our training courses, contact our Learning Consultants
on 1300 86 87246 or email us on info@advancedtraining.com.au
Visit us on the web at www.advancedtraining.com.au
Course Outline
• Describe how to create and use Module 9: Managing the • Testing the Operators for the
structures. Lifetime of Objects and Matrix Type
• Explain the differences between Controlling Resources After completing this module,
reference and value types. This module explains how to students will be able to:
manage the lifetime of objects and • Explain how properties work and
Module 7: Encapsulating control the use of resources. use them to encapsulate data.
Data and Methods Lessons • Describe how to use indexers to
This module explains how to control • Introduction to Garbage access data through an array-like
the visibility and lifetime of Collection syntax.
members in a type. • Managing Resources • Describe how to use operator
Lessons Lab: Managing the Lifetime of overloading to define operators
• Controlling Visibility of Type Objects and Controlling for your own types.
Members Resources
• Sharing Methods and Data • Implementing the IDisposable Module 11: Decoupling
Lab: Encapsulating Data and Interface Methods and Handling
Methods • Managing Resources Used By an Events
• Hiding Data Members Object This module explains how to
• Using Static Members to Share After completing this module, decouple an operation from the
Data students will be able to: method that implements an
• Implementing an Extension • Describe how garbage collection operation, and how to use these
Method works in the .NET Framework. decoupled methods to handle
After completing this module, • Manage resources effectively in asynchronous events.
students will be able to: an application. Lessons
• Describe how to control the • Declaring and Using Delegates
visibility of type members. Module 10: Encapsulating • Using Lambda Expressions
• Describe how to share methods Data and Defining • Handling Events
and data. Overloaded Operators Lab: Decoupling Methods and
This module explains how to create Handling Events
Module 8: Inheriting From properties and indexers to • Raising and Handling Events
Classes and Implementing encapsulate data, and how to define • Using Lambda Expressions to
Interfaces operators for this data. Specify Code
This module explains how to use Lessons After completing this module,
inheritance to create new reference • Creating and Using Properties students will be able to:
types • Creating and Using Indexers • Describe the purpose of
Lessons • Overloading Operators delegates, and explain how to use
• Using Inheritance to Define New Lab: Creating and Using a delegate to decouple an
Reference Types Properties operation from the implementing
• Defining and Implementing • Defining Properties in an method.
Interfaces Interface • Explain the purpose of lambda
• Defining Abstract Classes • Implementing Properties in a expressions, and describe how to
Lab: Inheriting From Classes Class use a lambda expression to
and Implementing Interfaces • Using Properties Exposed By a define an anonymous method.
• Defining an Interface Class • Explain the purpose of events,
• Implementing an Interface Lab: Creating and Using and describe how to use events to
• Creating an Abstract Class Indexers report that something significant
After completing this module, • Implementing an Indexer to has happened in a type that other
students will be able to: Access Bits in a Control Register parts of the application need to
• Use inheritance to define new • Using an Indexer Exposed by a be aware of.
reference types. Class
• Define and implement interfaces. Lab: Overloading Operators Module 12: Using Collections
• Define abstract classes. • Defining the Matrix and and Building Generic Types
MatrixNotCompatible Types This module introduces collections,
• Implementing Operators for the and describes how to use Generics to
Matrix Type implement type-safe collection
For more information about any of our training courses, contact our Learning Consultants
on 1300 86 87246 or email us on info@advancedtraining.com.au
Visit us on the web at www.advancedtraining.com.au
Course Outline
classes, structures, interfaces, and Module 14: Using LINQ to
methods. Query Data
Lessons This module explains how to query
• Using Collections in-memory data by using LINQ.
• Creating and Using Generic Lessons
Types • Using the LINQ Extension
• Defining Generic Interfaces and Methods and Query Operators
Understanding Variance • Building Dynamic LINQ Queries
• Using Generic Methods and and Expressions
Delegates Lab: Using LINQ to Query Data
Lab: Using Collections • Using the LINQ Query Operators
• Optimizing a Method by Caching • Building Dynamic LINQ Queries
Data After completing this module,
Lab: Building Generic Types students will be able to:
• Defining a Generic Interface • Describe how to use the LINQ
• Implementing a Generic Interface extension methods and query
• Implementing a Test Harness for operators.
the BinaryTree Project • Describe how to build dynamic
• Implementing a Generic Method LINQ queries and expressions.
After completing this module,
students will be able to: Module 15: Integrating Visual
• Use collection classes. C# Code with Dynamic
• Define and use generic types. Languages and COM
• Define generic interfaces and Components
explain the concepts of This module explains how to
covariance and contravariance. integrate code written by using a
• Define and use generic methods dynamic language such as Ruby and
and delegates. Python, and technologies such as
COM, into a C# application
Module 13: Building and Lessons
Enumerating Custom • Integrating C# Code with Ruby
Collection Classes and Python
This module explains how to • Accessing COM Components
implement custom collection classes from C#
that support enumeration. Lab: Integrating C# Code with
Lessons Dynamic Languages and COM
• Implementing a Custom Components
Collection Class • Integrating Code Written by
• Adding an Enumerator to a Using a Dynamic Language into
Custom Collection Class a C# Application
Lab: Building and Enumerating • Using a COM Component from
Custom Collection Classes Visual C# Application
• Implementing the IList TItem After completing this module,
Interface students will be able to:
• Implementing an Enumerator by • Integrate Ruby and Python code
Writing Code into a Visual C# application.
• Implementing an Enumerator by • Invoke COM components and
Using an Iterator services from a C# application.
After completing this module,
students will be able to:
• Implement a custom collection
class.
• Define an enumerator for a
custom collection class.
For more information about any of our training courses, contact our Learning Consultants
on 1300 86 87246 or email us on info@advancedtraining.com.au
Visit us on the web at www.advancedtraining.com.au