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,207
  • 1
  • 9
  • 17
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
  • 832
  • 1
  • 5
  • 15