namespace BigIntArithmetic{ class BigInt { public BigInt Next { get; private set; } public char Digit { get; private set; } } class BigIntCalculator { public BigInt Add(BigInt left, BigInt right) { // Your code here } }}
That's what I'm given and I'm supposed to fill in the Add method. So the adding is pretty straight forward, my problem is that I'm assuming I'm only supposed to add code where it says "//your code here" and there's no constructor for BigInt and the mutators(set methods) are private. So is there something about C# I'm missing because I've been trained in Java, or is the problem wrong somehow, and I need to assume I'm able to write a constructor (or have access to the mutators)?
---
Kyle: I better bring some protection
Jessica: Kyle, you're disgusting