How can I enumerate through all properties of the FileInfo
object "info"?
I listed their names below commented out, but I can't enumerate through them with a foreach loop or a for loop? Thanks
string filePathAndName = "c:\temp.txt";
FileInfo info = new FileInfo(filePathAndName);
// attributes, creation time, creation timeutc, directory, directoryname, exists, extension, fullname, isreadonly, lastaccesstime, lastaccesstimeutc, lastwritetime, lastwritetimeutc, length, name