public ReadFileAsText ( string filename ) : bool | ||
filename | string | The file to open and read. |
return | bool |
public bool ReadFileAsText( string filename )
{
using ( var fs = new FileStream( filename, FileMode.Open ) )
{
return ReadAsText( fs );
}
}