1 2 3 4 5 6 7 8 9 10 11 12 13
using System; using System.Resources; public class Prog { static public void Main () { ResourceManager res = new ResourceManager(typeof(TestRes)); Console.WriteLine(res.GetString("message")); } internal class TestRes { } }