Difference between C# and .Net

CsharpProgrammingServer Side Programming

C# is a programming language and .NET is a framework.

.NET has Common Language Runtime (CLR), which is a virtual component of .NET framework.

.NET not only has C#, but through it, you can work with VB, F#, etc.

C# is a part of .NET and has the following features −

  • Boolean Conditions
  • Automatic Garbage Collection
  • Standard Library
  • Assembly Versioning
  • Properties and Events
  • Delegates and Events Management
  • Easy-to-use Generics
  • Indexers
  • Conditional Compilation
  • Simple Multithreading
  • LINQ and Lambda Expressions
  • Integration with Windows
Updated on 30-Jul-2019 22:30:23