Lets say I have a namespace GPS, where I can call stuff like GPS.devise.coordinates.getLoc, that would simply return the GPS coords of my devise.
How can i assign all that “GPS.devise.coordinates” verbose to a variable such as “Me”?
So I could do Me.getLoc instead.
Thanks in advance
Assuming getLoc() is static, try using the following:
This is often used for shortening namespaces where the classes have common names. A great example to check out would be the VSTO libraries, where most of the namespaces have an Application class.