exercism / exercism/csharp-analyzer

Add features for inheritance exercise

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
16
Forks
8
Avg merge
1d 3h
Merged PRs (30d)
4

Description

See the [inheritance exercise](https://github.com/exercism/v3/blob/master/languages/csharp/exercises/concept/inheritance/.meta/design.md).

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](https://github.com/exercism/v3/blob/master/languages/csharp/exercises/concept/inheritance/Inheritance.cs).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.