.NET Fundamentals
Build a solid.NET foundation with the SDK, Visual Studio Code, console apps, C# basics.
01What is .NET?What is .NET? Understand the difference between.NET, C#, the SDK, the runtime, and. This beginner lesson builds the first mental model carefully so students can understand what the .NET toolchain or framework feature is actually doing before layeringcodequizbeginner
What is .NET? Understand the difference between.NET, C#, the SDK, the runtime, and. This beginner lesson builds the first mental model carefully so students can understand what the .NET toolchain or framework feature is actually doing before layering
Console.WriteLine(".NET lets one C# codebase target web, desktop, cloud, and more.");The main goal of What is .NET? is to:
A strong way to learn What is .NET? is to:
Why does What is .NET? matter in .NET development?
02Install & Configure Visual Studio CodeInstall & Configure Visual Studio Code Install the.NET SDK, the C# extension, and a working terminal. This beginner lesson builds the first mental model carefully so students can understand what the .NET toolchain or framework feature is actually doicodequizbeginner
Install & Configure Visual Studio Code Install the.NET SDK, the C# extension, and a working terminal. This beginner lesson builds the first mental model carefully so students can understand what the .NET toolchain or framework feature is actually doi
// dotnet --info
// code .
// Install the C# Dev Kit extension in VS CodeThe main goal of Install & Configure Visual Studio Code is to:
A strong way to learn Install & Configure Visual Studio Code is to:
Why does Install & Configure Visual Studio Code matter in .NET development?
03Build .NET Applications with C#Build .NET Applications with C# Learn how project templates, csproj files, restore, build, and run. This beginner lesson builds the first mental model carefully so students can understand what the .NET toolchain or framework feature is actually doingcodequizbeginner
Build .NET Applications with C# Learn how project templates, csproj files, restore, build, and run. This beginner lesson builds the first mental model carefully so students can understand what the .NET toolchain or framework feature is actually doing
// dotnet new console -n DotNetIntro
// cd DotNetIntro
// dotnet build
// dotnet runThe main goal of Build .NET Applications with C# is to:
A strong way to learn Build .NET Applications with C# is to:
Why does Build .NET Applications with C# matter in .NET development?
04Write Your First C# CodeWrite Your First C# Code Write and run the first lines of C# so students. This beginner lesson builds the first mental model carefully so students can understand what the .NET toolchain or framework feature is actually doing before layering on projeccodequizbeginner
Write Your First C# Code Write and run the first lines of C# so students. This beginner lesson builds the first mental model carefully so students can understand what the .NET toolchain or framework feature is actually doing before layering on projec
Console.WriteLine("Hello from CodeByte and .NET!");The main goal of Write Your First C# Code is to:
A strong way to learn Write Your First C# Code is to:
Why does Write Your First C# Code matter in .NET development?
05Create and Run Console AppsCreate and Run Console Apps Use the dotnet CLI and the generated Program.cs structure to. This intermediate lesson moves into practical implementation so learners can connect the concept to realistic project structure, debugging, and team-ready develcodequizintermediate
Create and Run Console Apps Use the dotnet CLI and the generated Program.cs structure to. This intermediate lesson moves into practical implementation so learners can connect the concept to realistic project structure, debugging, and team-ready devel
using System;
class Program
{
static void Main()
{
Console.WriteLine("Console apps are the best way to learn the workflow.");
}
}The main goal of Create and Run Console Apps is to:
A strong way to learn Create and Run Console Apps is to:
Why does Create and Run Console Apps matter in .NET development?
06Add Logic to Console AppsAdd Logic to Console Apps Move beyond printing text by adding conditions, loops, and simple. This intermediate lesson moves into practical implementation so learners can connect the concept to realistic project structure, debugging, and team-ready decodequizintermediate
Add Logic to Console Apps Move beyond printing text by adding conditions, loops, and simple. This intermediate lesson moves into practical implementation so learners can connect the concept to realistic project structure, debugging, and team-ready de
int score = 78;
if (score >= 70)
{
Console.WriteLine("Pass");
}
else
{
Console.WriteLine("Keep practicing");
}The main goal of Add Logic to Console Apps is to:
A strong way to learn Add Logic to Console Apps is to:
Why does Add Logic to Console Apps matter in .NET development?
07Work with VariablesWork with Variables Store values, update program state, and understand how variables make. This intermediate lesson moves into practical implementation so learners can connect the concept to realistic project structure, debugging, and team-ready devecodequizintermediate
Work with Variables Store values, update program state, and understand how variables make. This intermediate lesson moves into practical implementation so learners can connect the concept to realistic project structure, debugging, and team-ready deve
string name = "Elena";
int lessonsCompleted = 12;
Console.WriteLine(name + " completed " + lessonsCompleted + " lessons.");The main goal of Work with Variables is to:
A strong way to learn Work with Variables is to:
Why does Work with Variables matter in .NET development?
08Create MethodsCreate Methods Package repeated logic into methods so.NET applications become more readable. This advanced lesson focuses on production-minded tradeoffs, architecture, maintainability, and the kinds of design decisions developers face once the basic codequizadvanced
Create Methods Package repeated logic into methods so.NET applications become more readable. This advanced lesson focuses on production-minded tradeoffs, architecture, maintainability, and the kinds of design decisions developers face once the basic
static int Add(int left, int right)
{
return left + right;
}
Console.WriteLine(Add(7, 5));The main goal of Create Methods is to:
A strong way to learn Create Methods is to:
Why does Create Methods matter in .NET development?
09Manage Data in Console AppsManage Data in Console Apps Use collections and simple models to keep track of multiple. This advanced lesson focuses on production-minded tradeoffs, architecture, maintainability, and the kinds of design decisions developers face once the basic democodequizadvanced
Manage Data in Console Apps Use collections and simple models to keep track of multiple. This advanced lesson focuses on production-minded tradeoffs, architecture, maintainability, and the kinds of design decisions developers face once the basic demo
List<string> topics = new List<string> { "SDK", "CLI", "Methods" };
foreach (var topic in topics)
{
Console.WriteLine(topic);
}The main goal of Manage Data in Console Apps is to:
A strong way to learn Manage Data in Console Apps is to:
Why does Manage Data in Console Apps matter in .NET development?