In C #, you can use alias classes using the following:
using Str = System.String;
This is possible with classes that are generic dependent, I tried a similar approach, but it doesn't seem to compile.
using IE<T> = System.Collections.Generic.IEnumerable<T>;
and
using IE = System.Collections.Generic.IEnumerable;
Is this possible using generics in C #? If so, what am I missing?
source share