can we write own language constructs in C#?
<p>i'd like to know if it is possible to implement own language constructs (like lock or foreach) in C#?</p>

<p>The idea behind is that i want to mark start and end of a block of operations.
instead of writing</p>

<pre><code>startblock("blockname");
  blabla();
  andsoon();
endblock();
</code></pre>

<p>i'd like to write something like</p>

<pre><code>block("blockname"){
  blabla();
  test();
}
</code></pre>

<p>thank you!</p>
