📄 program.cs
字号:
using System;
using System.Globalization;
using Wrox.ProCSharp.Localization;
namespace ClientApp
{
class Program
{
static void Main()
{
DatabaseResourceManager rm = new DatabaseResourceManager(
"server=(local);database=LocalizationDemo;trusted_connection=true");
Console.WriteLine(rm.GetString("Welcome",
new CultureInfo("es-ES")));
Console.WriteLine(rm.GetString("ThankYou",
new CultureInfo("it")));
Console.WriteLine(rm.GetString("GoodMorning"));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -