-
Notifications
You must be signed in to change notification settings - Fork 163
[C#] Implement new Concept Exercise: parameters #1128
Comments
Include use of discards |
I am thinking of enhancing the remote controlled cars exercise.
|
I am thinking of enhancing the remote controlled cars exercise.
How do you envision this. Having a
I like this!
Good use case. So this would be doing something with a struct but not modifying it.
Maybe have a method that gets passed a struct but does modify it? To contrast it with the previous |
Yep.
I did not really want to take s |
I wouldn't mind only having the |
Never. As you say after.md is a good place for So, unless you have any further thoughts, I will go ahead with |
Named parameters are actually introduced in the |
Closed by PR #1699 |
This issue describes how to implement the
parameters
concept exercise for the C# track.Getting started
Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read up on the following documents:
Please also watch the following video:
Goal
The goal of this exercise is to teach the student the Concept of Parameters in C#.
Learning objectives
ref
,out
andin
modifiers.Out of scope
Concepts
This Concepts Exercise's Concepts are:
parameters
: know the difference between value and reference type parameters; know how to pass value types by reference using theref
,out
andin
modifiers.Prequisites
This Concept Exercise's prerequisites Concepts are:
memory-allocation
: know what value and reference types are and how they relate to memory usage, the heap and the stack.Any data types used in this exercise (e.g.
strings
) should also be added as prerequisites.Resources to refer to
Hints
ref
parameters work.out
parameters work.in
parameters work.After
ref
parameters work.out
parameters work.in
parameters work.Representer
This exercise does not require any specific representation logic to be added to the representer.
Analyzer
This exercise does not require any specific analyzer logic to be added to the analyzer.
Implementing
To implement this exercise, please follow these instructions.
Help
If you have any questions while implementing the exercise, please post the questions as comments in this issue.
The text was updated successfully, but these errors were encountered: