how to look if int list have numbers c# code example Example: c# check if int in int list bool isInList = intList.IndexOf(intVariable) != -1;