Namespace aliasing/masking?
Posted: Thu Apr 29, 2010 1:45 pm
I just started playing with Cobra (really cool language so far) and decided to try implementing something fun to get a feel for the language. I'm referencing into a C# library (which itself is a wrapper for some C code, zany!) and this library has it's own version of type Console. This is ambiguous with System.Console.
In the sample code for the library, this is resolved by
Here comes the question: Is there any equivalent syntax in Cobra, or am I forced to use the fully qualified name?
In the sample code for the library, this is resolved by
- Code: Select all
using Console = Wrapper.Console;
Here comes the question: Is there any equivalent syntax in Cobra, or am I forced to use the fully qualified name?