Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

C# is a multi-paradigm, managed, strongly typed, garbage-collected, programming language created by Microsoft in conjunction with the .NET platform.

What is C#?

C# is a multi-paradigm, managed, strongly typed, garbage-collected, programming language created by Microsoft in conjunction with the .NET platform; not to be confused with C or C++. C# supports imperative, declarative, functional, generic, object-oriented, component-oriented and meta programming disciplines. C# is also available in non-Microsoft implementations.

Usage

When you ask a question, be sure to include any relevant source code as a minimal, complete, and verifiable example. If there are any compiler errors, be sure to indicate:

  • Which compiler &/or IDE you are using, including its version.
  • Which C# language version you are using.
  • Exact error messages, including the lines on which they occur (mark those lines with comments)

Because Unity has its own tag & uses its own version C#, you do not need to use the tag when asking general Unity questions.

Stack Exchange Resources

history | excerpt history

Code Language (used for syntax highlighting): lang-cs