how to check if a string contains only alphabets and space in c#?
['if (string.IsNullOrEmpty(inputString))', 'return false;', 'for (int i = 0; i < inputString.Length; i++)', 'if (!char.IsLetter(inputString[i]))', 'return false;', 'return true;']