`char' does not contain a definition for `isUpper' c# code example Example: if char is upper csharp char ch1 = 'G'; bool result = Char.IsUpper(ch1);