response.ContentLength的有关问题

response.ContentLength的问题response.ContentLength取到的的类容长度为什么和我循环取到的一个string

response.ContentLength的问题

 response.ContentLength; 取到的的类容长度 
为什么和我循环取到的一个string 类型的 leng 长度不同呢


都是一段html标签

[解决办法]
一个是字节数,一个是字符数。
[解决办法]
string.GetBytes()