c# public static string
public static string saytest = "test";
private static void Main()
{
Console.WriteLine(saytest);
}
c# public static string
public static string saytest = "test";
private static void Main()
{
Console.WriteLine(saytest);
}
static class constructor c#
class SimpleClass
{
// Static variable that must be initialized at run time.
static readonly long baseline;
// Static constructor is called at most one time, before any
// instance constructor is invoked or member is accessed.
static SimpleClass()
{
baseline = DateTime.Now.Ticks;
}
}
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