You are developing a class named Scorecard. The following code implements the Scorecard
class. (Line numbers are included for reference only.)
You create the following unit test method to test the Scorecard class implementation:
You need to ensure that the unit test will pass.
What should you do?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
A is correct.
You need to add indexer to the class