Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# number in range

int x = 30;
if (Enumerable.Range(1,100).Contains(x))
    
  //Or
  
if (x >= 0 && x <= 100)
 
PREVIOUS NEXT
Tagged: #number #range
ADD COMMENT
Topic
Name
9+9 =