Hi?

I'm creating a DLL that is inherting from FileStream.

Code:
...

public class File : FileStream
{
    ...

     // Read in bytes from a FileStream and puts them into a string object.
     public string ReadString(int size)
     {
            byte[] array = new byte[size];
            if(base.Read(array, 0, size) >= 0)
            {
                 // Work with the array here.
            }
     }
}
This compiles but when I use the DLL in an application, I cannot see the ReadString method.

If I attempt to make this method static (as in normal DLLs), I'm presented with the following error:

"keyword 'base' is not availble in a static method".

How can I (or even can I) inherit from FileStream in a DLL and make my own methods available?

Thanks

-Blake