Compiling C# Source Code Files

This chapter provides tutorial examples and notes on C# compiler options. Topics include compiling C# source code with multiple classes in a single source code file and multiple source code files; generating .NET library files.

C# Compiler "csc" Options

Multiple Classes in a Single Source File

Compiling Multiple Source Code Files Together

Generating and Using .NET Library Files

Conclusions:

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

 Execution Environment Class

 Visual C# 2010 Express Edition

 Class Features

 C# Compiler and Intermediate Language

Compiling C# Source Code Files

 MSBuild - Microsoft Build Engine

 Memory Usages of Processes

 Multithreading in C#

 Async Feature from C# 5

 System.IO.FileInfo Class

 System.Diagnostics.FileVersionInfo Class

 WPF - Windows Presentation Foundation

 Partial Classes and Partial Methods

 Outdated Tutorials

 References

 PDF Printing Version