make a method static c# code example
Example: c# public static string
public static string saytest = "test";
private static void Main()
{
Console.WriteLine(saytest);
}
public static string saytest = "test";
private static void Main()
{
Console.WriteLine(saytest);
}