c# check if char is letter or number code example Example: c# check if char is string if (abc.ToLower().IndexOf('s') != -1) { }