diff options
author | chris@chriszimmerman.net <cjay.zimmerman@gmail.com> | 2015-10-15 20:37:29 -0400 |
---|---|---|
committer | chris@chriszimmerman.net <cjay.zimmerman@gmail.com> | 2015-10-15 20:37:29 -0400 |
commit | 4e0db77a0c3cc4483b3b5f4f81d306869eef656a (patch) | |
tree | 39542333b790acbf2db848e8a7ffb3b68e549ced /csharp.html.markdown | |
parent | 66bc42e31bf62a1592f9b763e12c0b963b3e7d3d (diff) |
Added information about out parameters in C#.
Diffstat (limited to 'csharp.html.markdown')
-rw-r--r-- | csharp.html.markdown | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/csharp.html.markdown b/csharp.html.markdown index 7aca2c6f..c32fb9f3 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -7,6 +7,7 @@ contributors: - ["Shaun McCarthy", "http://www.shaunmccarthy.com"] - ["Wouter Van Schandevijl", "http://github.com/laoujin"] - ["Jo Pearce", "http://github.com/jdpearce"] + - ["Chris Zimmerman", "https://github.com/chriszimmerman"] filename: LearnCSharp.cs --- @@ -394,6 +395,7 @@ on a new line! ""Wow!"", the masses cried"; ref int maxCount, // Pass by reference out int count) { + //the argument passed in as 'count' will hold the value of 15 outside of this function count = 15; // out param must be assigned before control leaves the method } |