Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"In the above example code..." when there is no above example code. #1824

Open
Eddie-Hartman opened this issue Nov 14, 2021 · 1 comment
Open

Comments

@Eddie-Hartman
Copy link

In the file/line: csharp/concepts/generic-types/introduction.md
it says "In the above example code we are instantiating a list of strings.", but there is no example code above if viewing from this link:
https://exercism.org/tracks/csharp/concepts/generic-types

I'd fork and make a PR, but I'm not sure if the line should just simply be removed, or if something was forgotten.

Example if you wanted to add it:

List<string> strings = new List<string>();
@ErikSchierboom
Copy link
Member

We should probably slightly rephrase and provide an example of how to instantiate a generic type. Maybe something like:

List<string> strings = new List<string>();
List<int> integers = new List<int>();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants