protected LoadFile ( string fullFilename ) : string | ||
fullFilename | string | The full filename. |
return | string |
protected string LoadFile(string fullFilename)
{
if(string.IsNullOrEmpty(fullFilename))
{
throw new ArgumentNullException(nameof(fullFilename));
}
return File.ReadAllText(fullFilename, Encoding.UTF8);
}