I\'m trying to define a pair of type aliases at the top of my C# program. This is a short example of what I\'m trying to do:
using System;
using System.Colle
Just as an addition to the other answers.
If you really want to continue your way, nesting the namespaces would be the way to go. Since for the second namespace, the first using would then be defined.
The following would work since you are in a deeper namespace:
namespace N1
{
using TsvEntry = Dictionary;
namespace N1.N2
{
using Tsv = List;
}
}
Please note that although it is working, i wouldn't recommend using this kind of code structure since you can end up with a deeply nested code.