Add function to built-in class using inheritance
<p>I'm trying to add a IsImage property that I wrote myself to the HttpPostedFile class, so that if a user is uploading a file, I can do something like this:</p>

<pre><code>FileUpload1.PostedFile.IsImage
</code></pre>

<p>How can I do that in C#?</p>
