📅  最后修改于: 2022-03-11 14:49:08.580000             🧑  作者: Mango
System.Resources.ResourceManager mgr = new
System.Resources.ResourceManager("MyConsoleApp.MyResource",
System.Reflection.Assembly.GetExecutingAssembly()) ;
Console.WriteLine ( mgr.GetString ("resourceName"));
Console.ReadLine ();