// //////////////////////////////////////////////////////// // Lecture on the CORBA Component Model, summer term 2003 // Assignment 7, Stephan Brumme, 702544 // // Implements the Reverse interface // namespace ReverseAPI { /// /// Class that actually implements the Reverser interface /// public class ReverserImplementation : System.MarshalByRefObject, Reverser { public string reverse(string arg) { string strResult = ""; // iterate through the string and build a reverse copy foreach (char letter in arg) strResult = letter + strResult; return strResult; } } }