So i'm working on a project and i'm new to coding. I'm using VB.NET, not my choice its the mandatory first language in my program so shut up about that ;( What is a better way to do this:
If txtRank1.Text = ("1" Or "2" Or "3" Or "4" Or "5" Or "6" Or "7" Or "8" Or "9" Or "10" Or "11" Or "12" Or "13") Then
fuck off
>>60103319
If convert.int32(text) >=0 and convert.int32(text)<=13 then
>>60103331
gotcha and btw not looking for the exact code just maybe a point in which direction to do
If values to check are dynamic add to a list and do a first select with the text value
>>60103367
Hmm okay this is simple thank you
>>60103394
They are dynamic thank you