简繁转换|示例
首先 添加Microsoft.VisualBasic.dll引用
using Microsoft.VisualBasic;
string gb2312 = "国营农场";
string big5 = "";
big5 = Strings.StrConv(gb2312, VbStrConv.TraditionalChinese, 0);
Console.WriteLine(big5);
string big5 = "";
big5 = Strings.StrConv(gb2312, VbStrConv.TraditionalChinese, 0);<br">
简繁转换|示例
首先 添加Microsoft.VisualBasic.dll引用
using Microsoft.VisualBasic;
string gb2312 = "国营农场";
string big5 = "";
big5 = Strings.StrConv(gb2312, VbStrConv.TraditionalChinese, 0);
Console.WriteLine(big5);