string怎样转换为UFT8类型?30分!
如题;
------解决方案--------------------system.text.encoding.getutf8 
 好像是  这样,不用VS写不出来。 
------解决方案--------------------保存到文件或输出到显示的时候才需要转
------解决方案--------------------byte[] utf8 = System.Text.Encoding.UTF8.GetBytes( "你想转换的string ");