Have a look on this image you will find very interesting i mentioned all the date-time format strings in this image.
.Net Standard Date-Time-Format strings
Have a look on this image you will find very interesting i mentioned all the date-time format strings in this image.
Related Posts:
Play with Date-Time-Formats in C#Code:public static void Main(string[] args){ //Get the cureent date time DateTime datetTime= DateTime.Now; Formatting DateTime to full patte… Read More
To get the system Icons(handle of system imagelist)[StructLayout(LayoutKind.Sequential)] public struct SHFILEINFO { public IntPtr hIcon; public IntPtr iIcon; … Read More
How to get Memory InfoNamespaces:using System;using System.Management; Code:static void Main(string[] args){ WqlObjectQuery query = new WqlObjectQuery("SELECT * FROM Wi… Read More
To close the application from task manager.If you have closed your appplication but still it runs in task manager then you can use this method to kill the thread.It happens only when some threa… Read More
Get folder items using Windows folder dialogNamespaces: using System; using Shell32; Code:static void Main(){ Shell shell = new Shell(); // open dialog for desktop folder … Read More
0 comments:
Post a Comment