0

I used data annotations, but it did not work. I used [Display(name=" you want to know about products")]

but it didn't work.

Thank you

JJ_Wailes
  • 2,176
  • 1
  • 7
  • 16
hai hua
  • 1
  • 2

1 Answers1

0

First of all there is not in-built or direct method to add a space in enumerator properties in c#. But you can use the following workaround.

This will help you https://stackoverflow.com/a/57716964/9524580

Lasanga Guruge
  • 681
  • 1
  • 4
  • 14