首页  编辑  

简繁体转换

Tags: /C#/字符串处理/   Date Created:

//

using System . Globalization;

using Microsoft . VisualBasic;

CultureInfo vCultureInfo = new CultureInfo ( "zh-CN" , false );

MessageBox . Show( Strings . StrConv( "Zswang ,

    VbStrConv . TraditionalChinese, vCultureInfo . LCID));

MessageBox . Show( Strings . StrConv( "Zswang ,

    VbStrConv . SimplifiedChinese, vCultureInfo . LCID));