Check out example codes for "c# public static string". It will help you in understanding the concepts better.

Code Example 1

public static string saytest = "test";

private static void Main()
{
  Console.WriteLine(saytest);
}

Learn ReactJs, React Native from akashmittal.com