understanding properties in C# : <p>I'm new to C#, just a question on properties </p>

<pre><code>public int Age
{
   get { return empAge; }
   set { empAge = value; }
}
</code></pre>

<p>I actually know how properties works, but just need to find an easy way to understand why this sugar syntax work in this way.</p>

<p>So I used to think the <code>int</code> keyword between <code>public</code> and <code>age</code> is the return type of the getter, but what about the setter? obviously the setter return void which doesn't match the return type of int?</p>
