public void Run() { // Create a ProgramHelper object ProgramHelper theProgramHelper = new ProgramHelper(); // convert a line of CSharp to VB string cSharpString = theProgramHelper.ConvertToCSharp("This is a VB string to convert."); Console.WriteLine(cSharpString); Console.WriteLine("Checking the string for syntax... Result {0}", theProgramHelper.CheckCodeSyntax(cSharpString, "CSharp")); // convert the converted line back to VB string vbString = theProgramHelper.ConvertToVB(cSharpString); Console.WriteLine(vbString); Console.WriteLine("Checking the string for syntax... Result {0}", theProgramHelper.CheckCodeSyntax(vbString, "VB")); }