I can already do:
using System.Windows.Forms;
Button b;
or:
System.Windows.Forms.Button b;
but I would like to do:
using System.Windows;
Forms.Button b;
(because Button is ambiguous with another namespace, and typing System.Windows.Forms.Button is too long).
However this gives me an error, how can I achieve this?
Thanks
A namespace alias perhaps:
The “using System.Windows” is now superfluous unless you use classes in that namespace.