csharp-analyzer icon indicating copy to clipboard operation
csharp-analyzer copied to clipboard

Add features for inheritance exercise

Open mikedamay opened this issue 4 years ago • 0 comments

See the inheritance exercise.

There are two features required:

  • Verify that the constructor of the Character class uses the protected modifier.
  • Verify that the various fields used (hit points, spell prepared and potion drunk) use the private modifier. i.e. all fields should be private

The boilerplate is here.

mikedamay avatar Jun 16 '20 12:06 mikedamay