C# 2012, Part 2: Attributes, Reflections, and Dynamic

with expert Joe Mayo

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.

Course Outline