In my table I have this field:
public string CARD_MANA_CONVT { get; set; }
It is a numerical field written as a string. Yep. Because in 95% of the time the value is an int, and the remaining 5%, it will be an X. So we made this a string.
I have to made a query based on a value chosen by the user. The problem is that I also need to check if the value is higher or lower.
Here's my query:
var cardsList = cardList.Where(_item => _item.CARD_MANA_CONVT > 5);
Is there a way to do this?
intand handle error cases.X? why not make itint?instead and remove the whole "X" concept