|
Description
This is the final course in a five part series that covers operators, properties, and attributes. The learner will understand how to implement operators, delegates, and events, and how to use properties to enable field-like access and indexes to enable array-like access. The course also teaches how to create custom user-defined attributes.
Audience
The intended audience for this course are individuals involved in programming in C, C++, Microsoft Visual Basic or Java and wish to program in C#. They are involved in developing enterprise business solutions. The audience will include application developers, system analysts, and software engineers. It is expected that learners should have experience programming in C, C++, Visual Basic, Java, or another programming language. Learners should also have basic familiarity with the .NET framework and the .NET strategy. In addition, learners should have taken the first four parts of this series (72711-72714).
Prerequisites
(Currently no course prerequisite information)
Objective
- Identify characteristics of operators.
- Identify functions of predefined C# operators.
- Identify characteristics of operator overloading.
- Identify characteristics of the accessors of a property.
- Compare property characteristics with field characteristics.
- Compare property characteristics with method characteristics.
- Identify the syntax for applying an attribute.
- Match predefined attributes with their descriptions.
- Identify characteristics of the Conditional attribute.
Topics Include
Unit 1: Operators, Delegates, and Events - Identify characteristics of operators.
- Identify functions of predefined C# operators.
- Identify characteristics of operator overloading.
- Identify the syntax for overloading a relational operator.
- Identify the syntax for overloading a logical operator.
- Identify the syntax for overloading a conversion operator.
- Identify the syntax for creating a delegate.
- Identify the syntax for calling a delegate.
- Identify characteristics of an event.
- Identify the syntax for defining an event.
- Identify characteristics of passing event parameters.
Unit 2: Properties and Indexers - Identify characteristics of the accessors of a property.
- Compare property characteristics with field characteristics.
- Compare property characteristics with method characteristics.
- Match property types with their descriptions.
- Identify the code for creating a property.
- Identify characteristics of indexers.
- Compare indexer characteristics with array characteristics.
- Compare indexer characteristics with property characteristics.
Unit 3: Attributes - Identify the syntax for applying an attribute.
- Match predefined attributes with their descriptions.
- Identify characteristics of the Conditional attribute.
- Identify the main characteristics of the DllImport attribute.
- Match the parameter values of the Transaction attribute with their meanings.
- Identify the syntax for defining the scope of a custom attribute.
- Identify the syntax for defining an attribute class.
- Sequence the steps in processing a custom attribute.
- Identify the syntax for using multiple attributes.
- Identify the syntax for retrieving class metadata.
- Identify the syntax for querying attribute information.
Duration
8
Minimum Requirements
The CDROM version of this course requires:
- At least a 486DX 33Mhz CPU.
- Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
- At least 8MB RAM.
- At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).
- At least a double speed CDROM drive.
- An MPC compliant sound card with attached speakers or headphones is recommended.
The network version of this course requires:
- At least a 486DX 33Mhz CPU.
- Microsoft Windows 3.1 or higher and a Microsoft compatible mouse.
- At least 8MB RAM and 14MB available hard disk space or file server space.
- At least VGA graphics capability with a minimum 512K video RAM (1MB video RAM recommended).
Media
|