(E-Mail Removed) wrote:
> I would like to create a class that inherits the File Class so I can
> add a method to it. Then my class will have all of the functionality
> of the original File class with the addition of my custom method.
>
> But it appears that the File Class is a static class and you cannot
> inherit from a static class.
>
> Is there some way this can be done?
No.
And there are not really any point.
Since all the methods are static just make your MyFile class
and use File.Foo and MyFile.Bar - I see the different names
as an advantage.
Arne