C# USING SHARED CLASS
public class Utilities
{
static public void CreateFile()
{
}
}
C# USING SHARED CLASS
public class Utilities
{
static public void CreateFile()
{
}
}
C# USING SHARED CLASS
Dim utils As Utilities
utils = New Utilities
utils.CreateFile()
C# USING SHARED CLASS
Utilities.CreateFile()
C# USING SHARED CLASS
public class Utilities
{
static private string InitialFileName;
static Utilities()
{
InitialFileName = "NewFile" + DateTime.Now;
}
static public void CreateFile()
{
...code using InitialFileName...
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us