Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static class ErrorCode
- {
- public const IDictionary<string , string > ErrorCodeDic
- =new Dictionary<string, string>()
- {
- {"1","User name or password problem"}
- };
- }
- private static readonly Dictionary<string, string> ErrorCodes
- = new Dictionary<string, string>
- {
- { "1", "Error One" },
- { "2", "Error Two" }
- };
- public static class ErrorCode
- {
- public static IDictionary<string, string> ErrorCodeDic;
- static ErrorCode()
- {
- ErrorCodeDic = new Dictionary<string, string>()
- { {"1", "User name or password problem"} };
- }
- }
- public static class ErrorCode
- {
- public static IDictionary<string, string> ErrorCodeDic
- = new Dictionary<string, string>()
- { {"1", "User name or password problem"} };
- }
- private static readonly StringDictionary SegmentSyntaxErrorCodes = new StringDictionary
- {
- { "1", "Unrecognized segment ID" },
- { "2", "Unexpected segment" }
- };
- public static class ErrorCode
- {
- public const IDictionary<string, string> ErrorCodeDic;
- public static ErrorCode()
- {
- ErrorCodeDic = new Dictionary<string, string>()
- { {"1", "User name or password problem"} };
- }
- }
- public static class ErrorCode
- {
- public const IDictionary<string , string > m_ErrorCodeDic;
- public static ErrorCode()
- {
- m_ErrorCodeDic = new Dictionary<string, string>()
- { {"1","User name or password problem"} };
- }
- }
Add Comment
Please, Sign In to add comment