C# pronounced as c sharp is a simple, modern, general-purpose, object-oriented language developed by Microsoft in its .Net Framework. Anders Hejlsberg and team developed it. ECMA (European Computer Manufacturers Association) and ISO(International Standards Organization) approved it.
C# is very much like C or C++, it will be easy to learn it if you have the understanding of programming concepts of C or C++ but not necessary. It also has a strong resemblance to Java. A programmer having the knowledge of any of these languages can work with it in a very short period of time. Its syntax simplifies many complexities of C++. Unlike C++ it doesn’t allow multiple inheritance. Though we can use interfaces for this purpose.
Here are a few reasons that make it a widely used programming language.
- Many computer platforms support it.
- Modern and general purpose programming language.
Some other important features are:
- Automatic Garbage Collection
- Properties and Events
- Assembly Versioning
- Boolean Conditions
- Standard Library
- Delegates and Events Management
- Easy-to-use Generics
- Simple Multithreading
- Conditional Compilation
- LINQ and Lambda Expressions
- Integration with Windows
The .Net platform is a revolutionary platform that helps the programmer to write a program in C# for these types of applications:
- Windows Applications.
- Web Applications.
- Web Services.
Integrated Development Environment (IDE) for C#
There are different IDEs available for programming in C#. Some are
- VS – Visual Studio
- VCE – Visual C# 2010 Express
- Visual Web Developer
- Visual studio code
But it is not necessary to use an IDE for writing programs in C#; we can also use simple text editors like notepad, notepad++, etc. to write programs in it. And run these programs from command line compiler which is also part of .Net framework.
You can download Microsoft visual studio.
As stated above that we can run C# programs on different computer platforms meaning that we can also run these programs on Linux or Mac OS. Mono an open source version of .Net framework is used to run these programs on Linux or Mac OS, which can be downloaded from mono. It can be run on many operating systems including Android, BSD, iOS, Linux, OS X, Windows, Solaris, and UNIX.