You want to initialize your class variables using the constructor, like this:
public GeometricSequence(double initial, double mult)
{
currentValue = initial;
multiplier = mult;
}
8.1m questions
10.7m answers