M
Mr. X.
Hello.
I have a class : MyClass.
The project is : MyProject.
In the class code :
....
namespace MyProject {
Class MyClass
{
public static void MyFunction()
{
... do something
}
}
}
When using MyClass I do in the calling module :
using MyProject;
....
MyClass.MyFunction() ...
I want to make the code shorted, so I shall write :
MyFunction()
(Without using MyClass.)
How can I do that for static functions ?
Thanks
I have a class : MyClass.
The project is : MyProject.
In the class code :
....
namespace MyProject {
Class MyClass
{
public static void MyFunction()
{
... do something
}
}
}
When using MyClass I do in the calling module :
using MyProject;
....
MyClass.MyFunction() ...
I want to make the code shorted, so I shall write :
MyFunction()
(Without using MyClass.)
How can I do that for static functions ?
Thanks