String to enum conversion in C#

后端 未结 8 2114
孤街浪徒
孤街浪徒 2020-12-03 00:52

I have a combo box where I am displaying some entries like:

Equals
Not Equals 
Less Than
Greater Than

Notice that these strings contain spa

8条回答
  •  一个人的身影
    2020-12-03 01:28

    Why use another way : convert Enumeration to String?

    Just generate the items of your combo box from your Enumeration.

提交回复
热议问题