Today, we have discussed very important concepts of C#, covering reflection, collections, delegates, and events.
We discussed the importance of reflection in our code analysis approach. During the discussion, we implemented code showing the power of reflection, where we analyzed the complete code.
Then we discussed delegates and events and how delegates and events work in C#. We also implemented delegates and events.
One of the important and key features of the C# language that we discussed in detail was non-generic types, namely ArrayList
, HashTable
, SortedList
, Queue
, Stack
, and so on. We implemented all these using C# 7.0 code.