public String toString(String enc) throws UnsupportedEncodingException {return new String(toByteArray(), enc);}

public String toString ( String enc ) throws UnsupportedEncodingException { return new String ( toByteArray ( ) , enc ) ; }
public virtual string toString(string enc){throw new System.NotImplementedException();}
