Chapter 2
Classes and Generics
Section 4
Creating and Using a Generic Interface
Let's assume that we want to find the properties of certain classes in our code, but we can't be sure how many classes we will need to inspect. A generic interface could come in very handy here. - Create a generic interface and implement it - Add a constructor and implementation - Create a simple class in the console application and run the console application