Solve the following questions, which cover the concepts from today's learning:
- What is reflection? Write a short program to use
System.Type
. - Create a class that contains at least three properties, two constructors, two public methods, and three private methods, and implements at least one interface.
- Write a program with the use of
System.Reflection.Extensins
to assess the class created in question two. - Study the NuGet package
System.Reflection.TypeExtensions
and write a program by implementing all of its features. - Study the NuGet package
System.Reflection. Primitives
and write a program by implementing all of its features. - What are delegate types and how can you define multicast delegates?
- What are events? How are events are based on the publisher-subscriber model? Show this with the use of a real-world example.
- Write a program using delegates and events to get an output similar to https://github.com/garora/TDD-Katas#string-sum-kata.
- Define collections and implement non-generic...