C# How to get the number of the method calls?
<p>In Java - basing on the Aspects - we can get the number of the function calls, e.g.:</p>

<pre><code>SomeClass sc = new SomeClass();
sc.m1();
sc.m1();
int no = sc.getNumberOfCalls("m1");
System.out.println(no); //2
</code></pre>

<p>How to do it in C# ?</p>
