Answers for "c# number in range"

C#
0

c# number in range

int x = 30;
if (Enumerable.Range(1,100).Contains(x))
    
  //Or
  
if (x >= 0 && x <= 100)
Posted by: Guest on September-23-2021

C# Answers by Framework

Browse Popular Code Answers by Language