how to detect if lower or uppercase c# code example Example: if char is upper csharp char ch1 = 'G'; bool result = Char.IsUpper(ch1);