Flags in CSHARPhow do you create custom flags in Csharp that can be used to assign a certain value to a given object?
Originally Posted by falzarex Lol I know but the exact syntax and application in a little code snippet would be cool enum (C#) MSDN has the answer to all ;D Code: enum Monsterstate { MS_DEAD, MS_ALIVE, MS_VBFAG, MS_GODLIKE }; int state = (int) Monsterstate.MS_GODLIKE;