Suppose I have a bunch of static fields and I want to use them in switch:
public static string PID_1 = \"12\"; public static string PID_2 = \"13\"; public st
Case argument should be constant on compile-time.
Try to use const instead:
const
public const string PID_1 = "12"; public const string PID_2 = "13"; public const string PID_3 = "14";