WHy im i getting this error?
namespace CalculatorTest
{
public class Calculator
{
public int operand1;
public int operand2;
p
That's it, the error CS7036 in C# is that your class is calling a constructor that have no parameters, but it should have parameters.
As it is mentioned earlier You defined two parameters for constructor (operand1, operand2) but then You invoke constructor without any. So If You want to have Your code working use
Calculator c = new Calculator(5,10);