📜  C# 控制台多语言 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:08.580000             🧑  作者: Mango

代码示例1
System.Resources.ResourceManager mgr = new
    System.Resources.ResourceManager("MyConsoleApp.MyResource",
    System.Reflection.Assembly.GetExecutingAssembly()) ;

Console.WriteLine ( mgr.GetString ("resourceName"));

Console.ReadLine ();