#include "stdafx.h"
using namespace System;
using namespace System::IO;
using namespace System::Text;
int main(array<System::String ^> ^args)
{
DirectoryInfo ^dir = gcnew DirectoryInfo("c:\\");
Console::WriteLine("Updated: {0} {1}",
dir->LastWriteTime.ToShortDateString(),
dir->LastWriteTime.ToLongTimeString());
return 0;
}
|