C# abstract method and common code
<p>I want to declare some class that inherit of an abstract class with abstract method. 
<strong>Also I want to some method in child class call a common code automatically (ie logging code)</strong></p>

<pre><code>public abstract class AbstractClass
{
    public abstract void AbstractMethod();
    public void CommonCode()
    {
        //do something
    }
}

public class ChildClass : AbstractClass
{
    public void AbstractMethod()
    {
        //automatically call CommonCode in base class
        //do something
    }
}
</code></pre>

<p>is event can help me ?</p>

<p>Regards</p>
