20 Jan 2014 • less than a minute read
String Replace extension method with string comparison ignore case support
A handy extension method enabling the ability to perform a replace on a string whole using the StringComparison enumeration
A handy extension method enabling the ability to perform a replace on a string whole using the StringComparison enumeration
Creating a dropdown list from an enum in asp.net MVC is a common task. In this post I create a custom c# enum helper which allows for easy creation of a SelectList accounting for custom descriptions and selected values