how to save a document to byte array in c# code example Example: c# save bytes array to file File.WriteAllBytes("KirkDataFile.txt", byteArray)