How to convert enum value to int in cshtml
You can simply cast it into int by placing (int) before the line code. Like: @((int)sudhademo.CommonHelper.thing.Apple) Here sudhademo is the namespace, CommonHelper is the class,... Read more
.Net Professionals
You can simply cast it into int by placing (int) before the line code. Like: @((int)sudhademo.CommonHelper.thing.Apple) Here sudhademo is the namespace, CommonHelper is the class,... Read more