C#

C# (pronounced C sharp) is a new programming language designed for building a wide range of enterprise applications that run on the .NET Framework. An evolution of C and C++, C# is simple, modern, type safe, and object-oriented. C# code is compiled as managed code, which means it benefits from the services of the common language runtime. These services include language interoperability, garbage collection, enhanced security, and improved versioning support.

C# is introduced as Visual C# in the Visual Studio .NET suite. Support for Visual C# includes project templates, designers, property pages, code wizards, an object model, and other features of the development environment. The library for Visual C# programming is the .NET Framework.

In This Section

  • C# Compiler Options
    Provides a reference to the C# compiler options and build errors. Includes information on Building from the Command Line.
  • C# Programmer's Reference
    Provides a quick reference for keywords, types, operators, attributes, and preprocessor directives. Includes the C# Tutorials and topics on language features.
  • C# Language Specification
    Provides the syntax, semantics, and design of the language.
  • Inside the .NET Framework
    Describes key .NET Framework concepts such as the common language runtime, the common type system (CTS), cross-language interoperability, managed execution, assemblies, and security.
  • Programming with the .NET Framework
    Explains common programming tasks that apply to a range of .NET Framework applications. Topics include accessing data, extending metadata, handling and throwing exceptions, processing transactions, and securing applications.
  • .NET Framework Class Library
    Contains links to topics that explain the namespaces in the .NET Framework class library and explains how to use the class library documentation.