Application I Created for class converted to C#