In a C# 2008 desktop application, I want to be able to check for a directory folder existing in a specified location. The directory path will look like C:\\main_folder\mm_yyyy. The mm_yyyy stands for the month and year.
Thus can you should be code on how to check if a folder actually exists?
To the OP: If you store file files as MM_yyyy, then the sort order is useless to you, no matter what you chose to sort by - because all the Januaries come before all the Februaries, and the years are then sorted within the month.
If you store by year first, you can retrieve the file names in "oldest first" or "newest first" without any additional processing.
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.
Last Visit: 31-Dec-99 18:00 Last Update: 26-Jun-17 11:35