Why is it not possible to use a static Variable from a static class inside a view?
For example, lets say you have a Settings Class:
public static cla
your global class should be like
public class GlobalVariables { public static string SystemColor { get { return Properties.Settings.Default.SystemColor; } } }
and in page @AppName.GlobalVariables.SystemColor appname replace by namespace of global class
@using AppName.Models System Color