The aim of using System.Environment class is to get the command-line arguments.
This class also helps us to retrive the environment variable settings for a particular
contents of the call stack. It can also find the time of last system boot and
version of the CLR.
Asked In: Many Interviews |