Check out example codes for "how to check if a string contains a capital letter c#". It will help you in understanding the concepts better.

Code Example 1

using System.Linq;
str.Any(char.IsUpper);

Learn ReactJs, React Native from akashmittal.com