in some project we are using Generics, and we get a lot of lines like this:
Line<SomeTClass,SomeCClass> myLine =
(Line<SomeTClass,SomeCClass>)LineFactory.CreateLine(...)
We can declare local alias, with using X = Line<SomeTClass,SomeCClass>
.
Then we can write, X myLine = (X)LineFactory.CreateLine(...)
.
We have a lot a combination of <T,C>
but we often use the same. Is it possible de declare the using globally, so that we won't have to declare the alias in each file?