how to declare global variable in controller in mvc code example
Example: how to make a global variable in c#
Make A New Class File And Add This
internal class Global
{
public static int32 Int1 = 1;
public static string Text1 = "Sample Text";
public static bool Bool1 = True;
}