I’m writing a C# code for creating a calculator interface for windows.