public static string SelectedValuesAsCommaDelimmittedString(this CheckBoxList thatCheckBoxList) { List <string> selectedValuesAsStrings = thatCheckBoxList.SelectedValuesAsStrings(); string commaDelimmittedStringOfValues = String.Join(",", selectedValuesAsStrings); return(commaDelimmittedStringOfValues); }