java: public String toString() {return getClass().getName() + " [" +getValueAsString() +"]";}
C#: public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(GetType().Name).Append(" [");sb.Append(GetValueAsString());sb.Append("]");return sb.ToString();}