Open a StreamReader on type File

  • Thread starter Thread starter Bagger Vance
  • Start date Start date
The File class contains only static members, you can't create instances of
it.
May be you mean FileStream, in this case the answer is yes, since
StreamReader has a constructor that takes Stream as a parameter, and
FileStream inherits from Stream.

Best regards,
Sherif
 
Back
Top