Good article thanks. Can you change the code snippets to use markdown code syntax to make it clear
Example of your snippet:
static void OutputFileSystemInfo() { WriteLine("{0,-33} {1}", "Path.PathSeparator", PathSeparator); WriteLine("{0,-33} {1}", "Path.DirectorySeparatorChar", DirectorySeparatorChar); WriteLine("{0,-33} {1}", "Directory.GetCurrentDirectory()", GetCurrentDirectory()); WriteLine("{0,-33} {1}", "Environment.CurrentDirectory", CurrentDirectory); WriteLine("{0,-33} {1}", "Environment.SystemDirectory", SystemDirectory); WriteLine("{0,-33} {1}", "Path.GetTempPath()", GetTempPath()); WriteLine("GetFolderPath(SpecialFolder"); WriteLine("{0,-33} {1}", " .System)", GetFolderPath(SpecialFolder.System)); WriteLine("{0,-33} {1}", " .ApplicationData)", GetFolderPath(SpecialFolder.ApplicationData)); WriteLine("{0,-33} {1}", " .MyDocuments)", GetFolderPath(SpecialFolder.MyDocuments)); WriteLine("{0,-33} {1}", " .Personal)", GetFolderPath(SpecialFolder.Personal)); }
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good article thanks. Can you change the code snippets to use markdown code syntax to make it clear
Example of your snippet: