public override string ToString() { if (Length == 0) return String.Empty; byte[] Bytes = new byte[Length - 1]; Marshal.Copy(CharPtr, Bytes, 0, (int)(Length - 1)); return Encoding.UTF8.GetString(Bytes); } };