Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Friday, September 5, 2014

Getting files by creation date in .NET

using System.Linq;

DirectoryInfo info = new DirectoryInfo("");
FileInfo[] files = info.GetFiles().OrderBy(p => p.CreationTime).ToArray();
foreach (FileInfo file in files)
{
    // DO Something...
}
full credit to original post:
http://stackoverflow.com/questions/4765789/getting-files-by-creation-date-in-net

Sunday, December 25, 2011

Keyboard shortcuts for Windows


Most of you guys may already have known this combination of this shortcut key on Windows Platform.
I would like to share with you guys about some of the common keyboard shortcuts for windows
Windows Key(windows logo) + M : Minimize all windows 
Windows Key(windows logo) + Shift +M : Undo minimize all windows
Windows Key(windows logo) + F : Open search dialog box to search or find files or folders in your entire computer or your specified area of your computer.
Windows Key(windows logo) + Break : Open system properties window
Windows Key(windows logo) + L : Lock your computer or log off from your windows
Windows Key(windows logo) + Tab : Cycling windows

Ctrl + ESC: Opens the Start menu (use the ARROW keys to select an item)
Ctrl + Tab : Switch between tabs or child windows which are opening in the same windows
Ctrl + T : Redo last done action (it is only available for some applications)