Skip to content

Robert Greiner

Professional optimist. I write a weekly newsletter for humans at the intersection of business, technology, leadership, and career growth.

Members Public

Working With Custom Time Strings in C#

Let's say we need to process some external data where the format and contents of the files are out of our control. To make matters worse, what if those same external files store tiemstamps in a foreign format that DateTime.Parse() does not understand? It would be ill-advised

Members Public

Using .NET to Monitor a Directory for Changes

.NET's FileSystemWatcher class can soothe the paranoid control freak in all of us by monitoring a specified folder for different types of file system changes. The Code FileSystemWatcher watcher = new FileSystemWatcher(@"D:\test"); The core of is application is .NET's FileSystemWatcher [http://msdn.microsoft.