Answers for "use int enum c#"

C#
1

int value from enum in C#

public enum Question
{
    Role = 2,
    ProjectFunding = 3,
    TotalEmployee = 4,
    NumberOfServers = 5,
    TopBusinessConcern = 6
}

int something = (int) Question.Role;
Posted by: Guest on July-01-2021
-1

enum in c#

public enum TipoAlimento{ cibosecco,umido,snack,mangimi};

        public TipoAlimento tipoalimento { get; }
Posted by: Guest on February-23-2021

C# Answers by Framework

Browse Popular Code Answers by Language