In each project we have there is a file used to store the various SQL statements used in that project. There are a handful of variations on how the class is declared and how the
Given that you're using Visual Studio, a small benefit for using public const
over public static readonly
is the ability to use IntelliSense to "peak" at the const
value.
e.g. Given:
public class Constants
{
public const string ConstString = "Visible!";
public static readonly string StaticReadonlyString = "Invisible!";
}