class Program
{
///
/// 100's of environmental variables and we would like a list of all of them.
///
public static void Main()
{
System.Collections.IDictionary i;
i = System.Environment.GetEnvironmentVariables();
System.Collections.IDictionaryEnumerator d;
d = i.GetEnumerator();
System.Console.WriteLine("Content-Type:text/html\n");
System.Console.WriteLine(i.Count + "\n");
while (d.MoveNext())
{
System.Console.WriteLine("{0}={1} \n", d.Key, d.Value);
}
}
}
No comments:
Post a Comment
Don't judge me like you know me.Don't talk to me if you don't like me. I am my own person and If you don't like that i don't give a f***