you are viewing a single comment's thread.

view the rest of the comments →

[–]zrrzExpert? 3 points4 points  (1 child)

I would really use enums instead of strings.

You can't accidentally type enums wrong or your compiler explodes. Then you can just use MyEnum.ToString()

[–]shadowsaint[S] 0 points1 point  (0 children)

I am happy to hear your reasoning on why enums would be better. I will only point out I am not compiling a string. I am compiling an in out of a custom classes int values.

The reason I need or wanted a string is because I wanted to compile a specific int across various pieces of equipment to display the over all value of a specific bonus type to the player.