njsokalski
Well-known member
- Joined
- Mar 16, 2011
- Messages
- 102
- Programming Experience
- 5-10
I am trying to write an Extension Method for IEnumerable(Of T). I will be using reflection on the Type T in the Extension Method to get a list of it's properties so that I can create an Anonymous Type that will include all those properties. I have written Extension Methods before, but never a Generic one. I know the declaration will be in a Module and have the Extension() Attribute, but I have having trouble figuring out how to make it Generic. Can somebody help me here? Thanks.