Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dtchepak committed Jul 21, 2020
1 parent b523dcd commit b452f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion help/set-return-value/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h2 id="for-methods">For methods</h2>

<a id="for_properties"></a>
<h2 id="for-properties">For properties</h2>
<p>The return value for a property can be set in the same was as for a method, using <code class="highlighter-rouge">Returns()</code>. You can also just use plain old property setters for read/write properties; they’ll behave just the way you expect them to.</p>
<p>The return value for a property can be set in the same way as for a method, using <code class="highlighter-rouge">Returns()</code>. You can also just use plain old property setters for read/write properties; they’ll behave just the way you expect them to.</p>

<div class="language-csharp highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">calculator</span><span class="p">.</span><span class="n">Mode</span><span class="p">.</span><span class="nf">Returns</span><span class="p">(</span><span class="s">"DEC"</span><span class="p">);</span>
<span class="n">Assert</span><span class="p">.</span><span class="nf">AreEqual</span><span class="p">(</span><span class="n">calculator</span><span class="p">.</span><span class="n">Mode</span><span class="p">,</span> <span class="s">"DEC"</span><span class="p">);</span>
Expand Down

0 comments on commit b452f44

Please sign in to comment.