c# Programming Glossary: statusenum
How do I Convert a string to an enum in C#? http://stackoverflow.com/questions/16100/how-do-i-convert-a-string-to-an-enum-in-c value. In an ideal world I could do something like this StatusEnum MyStatus StatusEnum.Parse Active but that isn't valid code... world I could do something like this StatusEnum MyStatus StatusEnum.Parse Active but that isn't valid code. c# string enums share.. enums share improve this question It's rather ugly StatusEnum MyStatus StatusEnum Enum.Parse typeof StatusEnum Active true..
c# marking class property as dirty http://stackoverflow.com/questions/805505/c-sharp-marking-class-property-as-dirty which shows the implementation of this enum. public enum StatusEnum Clean 0 Dirty 1 New 2 Deleted 3 Purged 4 public class Example_Class.. 2 Deleted 3 Purged 4 public class Example_Class private StatusEnum _Status StatusEnum.New private long _ID private string _Name.. 4 public class Example_Class private StatusEnum _Status StatusEnum.New private long _ID private string _Name public StatusEnum..
|