namespace MathInterpreter.Core; /// /// Collection of constants used throughout the project /// public static class Const { /// /// The plus (+) character used both as sign and operator /// public const char PlusSign = '+'; /// /// The minus (-) character used both as sign and operator /// public const char MinusSign = '-'; /// /// The times (*) character used as operator /// public const char TimesSign = '*'; /// /// The division (/) character used as operator /// public const char DivSign = '/'; /// /// The decimal separator (.) character used in numbers to separate the integral from the fractional part /// public const char DecimalSeparator = '.'; /// /// An error message used when a part of the code is reached that should never be reached due to /// previous, proper validation /// public const string ImpossibleErrorMessage = "If validation works as intended, this should never happen"; }