I should explained that well ! I do this everyday in VB.NET . I don't know if I can do this in C# ??
I have a namespace called "Mydatabase" and one big class called "DBClass" and many functions under "DBClass" class .
all of them are static (shared) . I call them in form1 like so :
how can I shorten the its name to be called like this :Code:Mydatabase.DBClass.OpenDB();
I believe it can be done by using Keyword but I couldn't find it there ?Code:OpenDB();





Reply With Quote