Home »
.Net »
C# Programs
C# 'Environment' Class – Properties, Methods, Examples / Programs
In C# programming language, the Environment class is defined in the System Namespace, it provides the information about, and means to manipulate, the current environment and platform. It is used for getting & setting various operating system-related information.
This section contains the solved C# 'Environment' Class Reference – Properties, Methods, Examples. Practice these programs to learn the concept of environment-related functionalities, these programs contain the solved code, outputs, and the detailed explanation of the statements, functions used in the C# 'Environment' Class Reference – Properties, Methods, Examples.
List of C# 'Environment' Class Reference – Properties, Methods, Examples
- C# - Environment.CurrentDirectory Property with Example
- C# - Environment.MachineName Property with Example
- C# - Environment.Is64BitOperatingSystem Property with Example
- C# - Environment.Is64BitProcess Property with Example
- C# - Environment.ProcessorCount Property with Example
- C# - Environment.HasShutdownStarted Property with Example
- C# - Environment.SystemDirectory Property with Example
- C# - Environment.SystempageSize Property with Example
- C# - Environment.UserName Property with Example
- C# - Environment.WorkingSet Property with Example
- C# - Environment.UserDomainName Property with Example
- C# - Environment.StackTrace Property with Example
- C# - Environment.TickCount Property with Example
- C# - Environment.UserInteractive Property with Example
- C# - Environment.CommandLine Property with Example
- C# - Environment.Exit() Method with Example
- C# - Environment.GetCommandLineArgs() Method with Example
- C# - Environment.FailFast() Method with Example
- C# - Environment.GetLogicalDrives() Method with Example
- C# - Environment.GetEnvironmentVariables() Method with Example
- C# - Environment.OSVersion Property with Example
- C# - Environment.GetEnvironmentVariable() Method with Example
- C# - Environment.SetEnvironmentVariable() Method with Example