Answers for "how to make a string static in C#"

C#
1

c# public static string

public static string saytest = "test";

private static void Main()
{
  Console.WriteLine(saytest);
}
Posted by: Guest on March-02-2020

Code answers related to "how to make a string static in C#"

C# Answers by Framework

Browse Popular Code Answers by Language