Simplify Namespace Usage
Provided by: FMS Development Team
Namespaces in .NET can be very long and less obvious. There is a way to
simplify this by creating your own alias for the namespace.
You can use the Imports statement (VB.NET) or using directive (C#) with an
OldVB = Microsoft.VisualBasic
OldVB = Microsoft.VisualBasic;
That way, you can refer to specific class elements
within the class referred to using the variable you
created in the assignment operation.
Return to the tips page