Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Streams and Data Processing Parsing Data Reference Types Versus Value Types

Tojo Alex
PLUS
Tojo Alex
Courses Plus Student 13,331 Points

Pls could you tell me what the blank is for ...

The_________ parameter modifier keyword is used to pass a value type argument by reference, and the argument must be initialized before being passed to the method parameter.

2 Answers

Steven Parker
Steven Parker
229,771 Points

There are 3 parameter modifiers used in C#, "in", "out", and "ref". For more information, see the Method Parameters page of the online C# documentation.

The blank is for you to put the one that matches the description: :wink:

Andrew Sykes
Andrew Sykes
9,286 Points

Steven, yet again you answer these questions correctly (yet somehow get downvoted) because I was able to look up the documentation and understand it before I answered! Thanks!

Steven Parker
Steven Parker
229,771 Points

I suspect some folks want to see only the answer, and downvote anything that leads them to learn the answer.   :see_no_evil: