System.Text.ASCIIEncoding.Unicode.GetByteCount(string); System.Text.ASCIIEncoding.ASCII.GetByteCount(string);