Understanding Environments Variable in C#

May 30th, 2014 | Posted by Vidya Vrat in .NET | C#

Consider a Real World situation that you need to log username, machine name etc. into a log file. I have encountered this scenario many times. Usually finding such information is very tedious job and may require some complicated code to be written.

For such type of information Microsoft .NET provides System.Environment class which provides some static member properties and methods to address most of such scenarios (which turns out to be complicated implementation otherwise).
Read my Full Article Here..

 

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.