C# and
C# is the primary programming language of the .NET framework. It was designed at Microsoft by Anders Hejlsberg in 2000. C# is an advanced language based on C++, which is used for operating systems, gaming, web applications, utilities, desktop applications, and more. It is an object-oriented language being generic, functional, strict type, declarative, and imperative.
Let’s run a basic “Hello World” program in C# (version 10):
Console.WriteLine("Hello, World!");
Let’s execute the following basic sample web application in
Bud1 1Scompobjlg1ScompCobjmoDDblobg� ���AobjmodDblobg� ���Aobjph1ScompPPageslg1Scomp1PagesmoDDblob�����APagesmodDblob�����APagesph1Scomp� Propertieslg1Scomp� PropertiesmoDDblob�:����A PropertiesmodDblob�:����A Propertiesph1Scompwwwrootlg1Scomp|wwwrootmoDDblob�H����AwwwrootmodDblob�H����Awwwrootph1Scomp}� @� @� @� @E DSDB `� @� @� @
C# | ASP.NET |
It is a programming language like C++ or Java. | It is a web development framework like PHP or JSP. |
It was created in 2000. | It was created in 2002. |
It is a Common Language Specification (CLS) compliant language. | It is a code library that is used with C# to develop the web applications. |
It has various features like multithreading, garbage collector, boolean conditions, delegates, indexers, etc. | It has multiple features, including session state, page state, HTML5 form types, asynchronous, MVC, etc. |
It is used to code object-oriented programs, desktop applications, web applications, etc. | It is used as a server-side framework to generate dynamic web applications. |
It is licensed under Generic Public License (GPL). | It is licenced under Apache 2.0. |
It supports all major operating systems. | It supports Linux, Windows, and macOS. |
Free Resources