Training Course: Programming with Managed Extensions for Microsoft Visual C++® .NET (2558, MOC 2558)
training course enquiry
Training Course Summary:
OverviewThe goal of this course is to teach existing C++ developers how to write applications for the Microsoft® .NET Framework by using Managed Extensions for C++. The course teaches the language differences between standard C++ and Managed Extensions for C++, and focuses on issues such as efficiency and optimization. The course also discusses interoperability with unmanaged code, and shows how to use COM effectively in managed code.
Delegates will learn how to:
Create Managed C++ applications that execute in the .NET Framework.
Define __gc (garbage collected) classes in C++.
Use __gc pointers and references.
Define and use value types.
Use inheritance with __gc classes.
Use __gc arrays, .NET Framework collections, and reflection.
Use properties, named operator functions, and exceptions in managed code.
Migrate unmanaged C++ code to Managed C++.
Use COM interoperability with managed code.
Prerequisites:
Before attending this course, students must have:
Programming experience with C++, using object-oriented programming techniques.
Familiarity with C++ template libraries.
Course outline
Managed C++ Applications and the .NET Framework.
Defining __gc Classes.
__gc Pointers and References.
Value Types.
Managed Inheritance.
Arrays, Collections, and Reflection.
Properties, Managed Operators, and Managed Exceptions.
Mixing Managed and Unmanaged Code.
COM Interoperability.

