NativBashari

Results comments of NativBashari

I think that you need to use a collection instead of array. and you need to initialize the collection this way: var enumsCollection = Enum.GetValues(typeof(**Grade**)).Cast(); Then try to run the...

OK, you do not need the GetValues method. but you need the Cast method. Try to add the Cast method to the initialization of the array.