Loyc.StringBuilderExt.Last C# (CSharp) Method

Last() public static method

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