public void Delete() { string tempFile = Path.GetTempFileName(); ExtendedFileInfo efi = new ExtendedFileInfo(tempFile); efi.Delete(); Assert.IsFalse(File.Exists(tempFile)); }