ソースコード
public static class StringExt { public static bool IsLower( this string self ) { for ( int i = 0; i < self.Length; i++ ) { if ( char.IsUpper( self[ i ] ) ) { return false; } } return true; } }
使い方
var str = "abcde";
var isLower = str.IsLower();