I just want to know, whether a String variable contains a parsable positive integer value. I do NOT want to parse the value right now.
Currently I
Sorry, didn't quite get your question. So something like this?
str.ToCharArray().Any(char.IsDigit);
Or does the value have to be an integer completely, without any additional strings?
if(str.ToCharArray().All(char.IsDigit(c));