using System;
using System.Resources;
class LanguageResourceWriter {
public static void WriteEnglishResources()
{
ResourceWriter rw = new ResourceWriter("Eng.resources");
rw.AddResource("Greeting", "Hello");
rw.Generate();
rw.Close();
}
public static void WriteSpanishResources()
{
ResourceWriter rw = new ResourceWriter("Span.resources");
rw.AddResource("Greeting", "Hola");
rw.Generate();
rw.Close();
}
public static void WriteFrenchResources()
{
ResourceWriter rw = new ResourceWriter("French.resources");
rw.AddResource("Greeting", "Bonjour");
rw.Generate();
rw.Close();
}
public static void Main()
{
WriteEnglishResources();
WriteSpanishResources();
WriteFrenchResources();
}
}