MCQs>IT & Programming>C#>Given this enumeration, how would you access the integer-type value of 'AppState.Loading'? enum AppState { OffLine, Loading, Ready }
C# MCQs
Given this enumeration, how would you access the integer-type value of 'AppState.Loading'? enum AppState { OffLine, Loading, Ready }
Answer
Correct Answer: Int currentState = (int)AppState.Loading;
Explanation:
Note: This Question is unanswered, help us to find answer for this one