Calculator Project ported to C#