Loyc.StringBuilderExt.Last C# (CSharp) 메소드

Last() 공개 정적인 메소드

Returns the last character of the string
public static Last ( this str ) : char
str this
리턴 char
		public static char Last(this StringBuilder str)
		{
			if (str.Length == 0)
				throw new EmptySequenceException();
			return str[str.Length - 1];
		}