First working version

This commit is contained in:
Administrator
2017-01-02 11:48:55 +01:00
parent 89a6addc1b
commit 5025f0e9fc
2 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
#region Using Statements #region Using Statements
using System; using System;
using System.IO; using System.IO;
#endregion #endregion
namespace OneDriveArchiver namespace OneDriveArchiver
@@ -26,7 +25,7 @@ namespace OneDriveArchiver
} }
// do a check if the file is empty... // do a check if the file is empty...
FileInfo fi = new FileInfo(filename); var fi = new FileInfo(filename);
if (fi.Length == 0) if (fi.Length == 0)
{ {
Console.WriteLine($"Deleting file {filename} as it has zero bytes content."); Console.WriteLine($"Deleting file {filename} as it has zero bytes content.");

View File

@@ -1,5 +1,7 @@
using System; #region Using Statements
using System;
using System.IO; using System.IO;
#endregion
namespace OneDriveArchiver namespace OneDriveArchiver
{ {