c# function inside lock(obj)
<p>For the example below, will the lock be release before i++ is executed? In otherwords will the lock be released when a function is called inside a lock?</p>

<pre><code>lock (lockerobject /*which is static*/)
{
   call2anotherFunction();
   i++;
}
</code></pre>
