CSharp examples for System:String Case
Starts with upper case.
using System.Text.RegularExpressions; using System.Collections.Generic; using System.Text; using System;//from w w w . ja va 2 s .co m public class Main{ /// <summary> /// Starts with upper case. /// </summary> /// <param name="name">The name.</param> /// <returns></returns> public static bool StartWithUpperCase(string name) { return name.Length >= 1 && char.IsUpper(name[0]); } }