Removed unnecessary file delete
MODIFY
src/Chapter09/Listing09.18.UsingFlagsAttribute.cs
src/Chapter09/Listing09.18.UsingFlagsAttribute.cs
public static void Main()
{
string fileName = @"enumtest.txt";
- File.Delete(fileName);
FileInfo file = new FileInfo(fileName);
file.Open(FileMode.OpenOrCreate).Dispose();

Removed unnecessary file delete