Alex Rivera | Logout

Base constructor in C# - Which gets called first?

Asked 2008-09-26T16:17:42.360
146

Which gets called first - the base constructor or "other stuff here"?

public class MyExceptionClass : Exception
{
    public MyExceptionClass(string message, string extrainfo) : base(message)
    {
        //other stuff here
    }
}
Edit
Report

1 Answer

1
answered 2008-09-26T16:22:56.280

Your Answer