.NET

.NET is the free, cross-platform development platform that runs C# programs. It provides the runtime, a huge standard library, and tools for building apps on Windows, macOS, and Linux.

C#

.NET includes the Common Language Runtime (CLR), which executes your compiled code and manages memory automatically through garbage collection. The Base Class Library (BCL) gives you ready-made types for strings, collections, files, networking, and more.

You use the `dotnet` command-line tool to create, build, and run projects. C# is the most popular language on .NET, but F# and Visual Basic also run on it.

Examples

C#

dotnet new console -o MyApp
cd MyApp
dotnet run

Output:

Hello, World!

Learn it in a lesson

See also

Back to the Dictionary