Course description
This course will show you some common attributes that the C# compiler uses. You’ll see examples of other tools that use attributes. You’ll also learn how to create your own custom attribute. This course will teach you how to use Reflection. You’ll learn how to get a reference to Type objects inside of an assembly and how to dive into the contents of a type to inspect its members. You can even find and read your custom attributes. After you know how to use Reflection, the course will show you how to dynamically instantiate an object and invoke one of its methods. You’ll learn how to declare and use a dynamic type. Then you’ll see how to use an ExpandoObject. The course will follow up by explaining how DynamicObject allows you to control the entire experience of how a type works via a derived type and method overloads.
Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.
Prerequisites
This course assumes that students understand the C# 3.0 syntax and have a basic understanding of the .NET Framework. No specific experience with Visual Studio 2012 is required.
Meet the expert
Joe Mayo is an author, independent consultant, and instructor specializing in Microsoft .NET and Windows 8 technology. He has several years of software development experience and has worked with .NET since July 2000. Joe has written books and contributes to magazines such as CODE Magazine. He has been an active contributor to the .NET community for years, operating the C# Station Web site, authoring the LINQ to Twitter open source project, and speaking regularly at user groups and code camps. For his community contributions, Microsoft has honored Joe with several Most Valuable Professional (MVP) Awards through the years.
Video Runtime
42 Minutes
Time to complete
167 Minutes
Course Outline
Attributes (13:44)
Reflection (13:33)
Dynamic (15:07)