Basic
Operators
Control Statement
Loops
Arrays
Constructor and Destructor
overloading and overrideing
Functions
Advanced
Programs
Interview questions
C#, pronounced as C-Sharp, is a programming language developed by Microsoft. It is an object-oriented programming language that is developed as a part of .Net initiative and designed by Anders Hejlsberg. It is a general-purpose programming language designed for Common Language Infrastructure. There are some standards for designing C#, like the language needs to be modern, general-purpose, and based on OOPS concepts. It should be suitable for deployment in distributed environments etc. Because of this, it was approved by Ecma as an international standard.
C# is widely used in multiple areas which makes it more popular and in demand. It is used in the area of Game Development because of its features like an object-oriented, automatic garbage collector, etc. It is also used in the area of web development and desktop applications. There are other features of C# like Integration with windows, properties, and events, Standard library, Indexers, Multithreading, etc., which are the reason for its worldwide popularity.
There are some advantages of C#
C# is used to build various types of applications like
Below is the simple C# code example of print a message
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tutorial
{
class Program
{
static void Main(string[] args) // Main Method
{
Console.WriteLine("This is C# Tutorial"); // Display message
Console.ReadKey();
}
}
}
The output of the above code is:-
It is good to have knowledge of the C language, which will help to understand the basics concepts and syntaxes.
This is for the beginners so that they can understand the basics of C# programming and its applications and advantages.
By signing up, you agree to our Terms of Use and Privacy Policy.
Web development, programming languages, Software testing & others
C# Programming, Conditional Constructs, Loops, Arrays, OOPS Concept
By signing up, you agree to our Terms of Use and Privacy Policy.
By signing up, you agree to our Terms of Use and Privacy Policy.
This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy