Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# enum

enum Seasons{
	Spring, //0
    Summer, //1
    Autumn, //2
    Winter //3
}
enum ErrorCode : uint
{
    None = 0,
    Unknown, //1
    ConnectionLost = 100,
    OutlierReading //101
}
 
PREVIOUS NEXT
Tagged: #enum
ADD COMMENT
Topic
Name
5+3 =