I've seen lots of answers to the typedef
problem in C#, which I've used, so I have:
using Foo = System.Collections.Generic.Queue<Bar>;
and this works well. I can change the definition (esp. change Bar => Zoo etc) and everything that uses Foo changes. Great.
Now I want this to work:
using Foo = System.Collections.Generic.Queue<Bar>;
using FooMap = System.Collections.Generic.Dictionary<char, Foo>;
but C# doesn't seem to like Foo
in the second line, even though I've defined it in the first.
Is there a way of using an existing alias as part of another?
Edit: I'm using VS2008