-2

I want to space in enum in c#.Like : FabricRollManagement to Fabric Roll Management I need enum list not a single value.where i pass a enmu list and return a list that contain multiple value

2 Answers2

0

You can't, C# doesn't allow whitespace in variable, class or any declaration.

rokkerboci
  • 1,167
  • 1
  • 7
  • 14
0

Simple, you can not do it to code, but you can display it.

String save;
foreach (x in yourenum.toString().toCharArray()) {
    if Char.isUpper(x) save += " " + x;
    else save += x;
 }