Back to All Events
This two day instructor-led course helps you gain a deeper understanding of key features in the C# language. Explore how to use Delegate types to build complex algorithms and architect reactive applications using Events.
You will see not only how to write Linq queries but the principals of how Linq is implemented and will also learn how many frameworks implement advanced features using reflection.
This is a BYOD event.
Full details of the course are as follows.
Day 1
Delegates | Implicit Iterators | Extension Methods | LINQ |
---|---|---|---|
What is a delegate | What is an iterator | Use of the static keyword | What is linq |
Defining a custom delegate | The IEnumerable and IEnumerator interfaces | Public class visibility | How linq has been implemented |
Using delegates to form closures | Using the Yield keyword | Extension methods | Writing a linq query over an object collection |
Predefined delegates | Creating a generator function | The this parameter and its limitations | Linq methods |
Lambdas | IEnumerable linq query object | ||
Decorator pattern | |||
Terminal operators |
Day 2
Events | Covariant and Contravariant generic types | Attributes | Reflection |
---|---|---|---|
Publisher/Subscripter principals | What is variance | Defining custom attributes | The Type class |
Defining custom EventArgs | What does it affect | Capturing data through constructor parameters | The MemberInfo class and hierarchy |
Declaring an Event field | Invariance for safety | Optional properties | Using typeof and GetType |
Subscribing to an Event | Covariant position | Decorating classes and methods | Getting array of fields |
Event caller rules | Using the out qualifier | Getting array of methods | |
Calling an event passing EventArgs and a sender | Contravariant position | Using BindingFlags | |
Use of different senders | Using the in qualifier | Creating object | |
Unsubsribing from an Event | Invoking methods | ||
Finding custom attirbutes |