Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Constant string str1 = "VAL1";
- Constant string str2 = "VAL2";
- public static class MyConstants
- {
- public const string str1 = "VAL1";
- public const string str2 = "VAL2";
- private MyConstants() { } // So it can't be instantiated by consumers of the class
- }
Add Comment
Please, Sign In to add comment