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