Created
December 22, 2015 19:12
-
-
Save crowcoder/ac5df71b9e7bb924ec97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StringBuilder sb = new StringBuilder(); | |
foreach (DictionaryEntry de in Environment.GetEnvironmentVariables()) | |
{ | |
sb.AppendFormat("{0} : {1}", de.Key.ToString(), de.Value.ToString()).AppendLine(); | |
} | |
Console.WriteLine(sb.ToString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment