i

ASP.Net A Complete Guide

Overview of C#

  • C# is developed and launched by Microsoft.

  • C# is an object-oriented programming language. 

  • C# supports Web Applications, Mobile Applications, and Windows applications development. 

  • C# is open source. 

  • Applications written in C# requires the .NET framework to be installed on the computer running the application.

  • Everything is wrapped in classes, even simple types like int and string, which inherit from the System — object class.

Variables: A variable can be defined as a storage place. 

In C#, a variable declaration:

Example:

string name;

You can assign value for the variable.

= ;

string name="varsha";