What is C# and .NET?
Think of it like cooking: C# is the language you speak (the recipe), and .NET is the kitchen — the pots, pans, oven, and ingredients you use. You write C# code, .NET runs it on Windows, macOS, or Linux.
// C# = the language (syntax: how you write code)
// .NET = the platform (runtime + libraries that execute it)
// You install the .NET SDK once, then create a new app:
// dotnet new console -n HelloApp
// cd HelloApp
// dotnet run
// Inside HelloApp you get a Program.cs file.
// That's where your C# code lives.
// .NET 8 ships thousands of useful classes for free:
// - Console → write to the terminal
// - File → read/write files
// - HttpClient → call web APIs
// - List<T> → resizable lists
// - DateTime → dates and times
//
// You don't need to write any of these — you just USE them.