string strTmp = "abcdefg某某某";
int i= System.Text.Encoding.Default.GetBytes(strTmp).Length;
int j= strTmp.Length;
//以上代码执行完后,i= j=
int i= System.Text.Encoding.Default.GetBytes(strTmp).Length;
int j= strTmp.Length;
//以上代码执行完后,i= j=
答:i=13,j=10
答:i=13,j=10
转载于:https://www.cnblogs.com/mianshi/archive/2010/12/02/1894921.html