How To Compare My Actual MasterPage
<p>I have 2 MasterPage in my project.</p>

<p>The <code>MasterPage to common pages</code> and the <code>MasterPage to PopUp pages</code>. </p>

<p>And I have a class <code>BasePage</code> that is inherited by all pages, and in BasePage I need to verify  which is the actual MaterPage that is used.</p>

<p>Ex:</p>

<p><code>if(Master.GetType() == typeof(Master)</code> ....</p>

<p>How do I test it?</p>
