using System;
static class SC
{
public static void staticMethod()
{
Console.WriteLine("I'll Run without Instantiation");
}
}
|
NotInheritable Class SC
Private Sub New()
End Sub
Public Shared Sub staticMethod()
Console.WriteLine("I'll Run without Instantiation")
End Sub
End Class
|