Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace StringEnumTest
- {
- class StringEnum
- {
- public string info = string.Empty;
- private StringEnum(string info)
- {
- this.info = info;
- }
- public static StringEnumTest1
- {
- get
- {
- return new StringEnum("Test1");
- }
- }
- public static StringEnumTest2
- {
- get
- {
- return new StringEnum("Test2");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement