❔ Item.Is a Number

Hey, I have this list:
        { "+", "-", "*", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" };

I iterate through the list with a foreach. I want to check if the item is a number or not. So is there something like
foreach
   if((int)item.Is a number)
      .....
?
Was this page helpful?