using System;
class MainClass
{
public static void Main()
{
Console.WriteLine("Command Line: {0}", Environment.CommandLine);
Console.WriteLine("Current Directory: {0}", Environment.CurrentDirectory);
Console.WriteLine("Machine Name: {0}", Environment.MachineName);
Console.WriteLine("Stack Trace: {0}", Environment.StackTrace);
Console.WriteLine("System Directory: {0}", Environment.SystemDirectory);
Console.WriteLine("Tick Count: {0}", Environment.TickCount);
Console.WriteLine("Version: {0}", Environment.Version);
Console.WriteLine("Working Set: {0}", Environment.WorkingSet);
}
}
Command Line: main
Current Directory: C:\Java_Dev\WEB\dev\CSharp
Machine Name: JAVA2S
Stack Trace: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at MainClass.Main()
System Directory: C:\WINDOWS\system32
Tick Count: 753202203
Version: 2.0.50727.42
Working Set: 6426624