namespace com.williambryanmiller.files "MyFiles.cs" contains one class, "MyFiles", containing 5 methods //converts file size (number of bytes as type double) to string desc: "7.405 Kb" public static string getFilesizeDesc(double sizeInBytes) //reads a file into an array of type byte public static byte[] ReadByteArrayFromFile(string fileName) //this method also appears in namespace com.williambryanmiller.strings public static bool wroteStringToTextFile(string s, string filepath) //sample usage: returnTot...ingPattern(myDir, "*.pdf"); public static long returnTotalBytesOfFilesMatchingPattern(string _directory, string _pattern) public static int returnNumFilesMatchingPattern(string _directory, string _pattern) //returns the directory in which the current assembly is executing //this works in C# Console apps public static string dirOfExecutingAssembly() Note: these six methods of class MyFiles are demonstrated in sample project