Here is a code example
/// <summary>Load all the IDs</summary>
public IEnumerable<string> LoadIDs()
{
if ( !this.SentFile.Exists )
return new string[0];
try
{
string[] file = File.ReadAllLines( this.SentFile.FullName, Encoding.UTF8 );
return file;
}
catch ( System.Exception )
{
return new string[0];
}
}