C# Tutorials - Herong's Tutorial Examples
Dr. Herong Yang, Version 3.2

Execution Environment Class

This chapter provides tutorial examples and notes on the execution environment class, System.Environment. Topics include descriptions on properties and methods of System.Environment; getting OS (Operating System) information; getting CLR (Common Language Runtime) information.

System.Environment - Execution Environment Class

Getting Operating System Information

Getting CLR (Common Language Runtime) Information

Conclusions:

  • System.Environment allows to get Operating System and Common Language Runtime information.

Last update: 2010.

Table of Contents

 About This Book

 Introduction of C# (C Sharp)

 Data Type and Variables

 Logical Expressions and Conditional Statements

 Arrays and Loop Statements

 Data Type Features

 Floating-Point Data Types

Passing Parameters to Methods

 Types of Method Parameters

Method Parameter Arrays

 Execution Environment Class

 Visual C# 2010 Express Edition

 Class Features

 C# Compiler and Intermediate Language

 Compiling C# Source Code Files

 Memory Usages of Processes

 Multithreading in C#

 System.IO.FileInfo Class

 System.Diagnostics.FileVersionInfo Class

 References

 PDF Printing Version

Dr. Herong Yang, updated in 2012
Execution Environment Class