public static void Main()
App.DevWidth = App.Width switch
var x when x >= 0 && x < 700 => SIZE.Small,
var x when x >= 700 && x < 1200 => SIZE.Medium,
var x when x >= 1200 => SIZE.Large,
_ => throw new Exception("Invalid width value")
Console.WriteLine($"App Width {App.Width}: Size = {App.DevWidth}");
public static int Width { get; set; } = 1300;
public static SIZE DevWidth { get; set; }