IEnumerable<T> casting to IEnumerable<BaseClassOfT>(damieng.com)
submitted by
DamienG(1405) 5 years, 11 months ago
Ever had the scenario whereby you want to expose your generic collection only to find what you really want to expose is a collection of your subtype or interface supported by your type?
This article shows you a simple lightweight generic wrapper.
|category: C#
|Views: 10
tags:
another
Everyones tags:
No tags
Your Tags: