Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.