Writing a resource file programmatically. : ResourceWriter « GUI Windows Form « C# / C Sharp






Writing a resource file programmatically.


using System;
using System.Resources;

class MainClass {
    public static void Main() {
        ResourceWriter rw = new ResourceWriter("English.resources");
        rw.AddResource("PgmName", "AAA");
        rw.AddResource("PgmVer", 1.0);
        rw.AddResource("PgmAuthor", "VVVV");
        rw.Close();
    }
}

           
       








Related examples in the same category

1.Make a new *.resources file.
2.Resource file generator