I get hex values and need to know if my (parameter that is INT) is in the range of the values.
for example:
public bool IsInTheRange(int parameter) {
string range = "0A-0F";
return = ????
}
How can I check if the parameter is in the range of 0A-0F ?
Does the range really need to be specified as a string?
…and if it does need to be a string then you’ll still need to parse that string into min and max bounds: