inPace
All coursesكل الدورات

C# and .NET for beginners

  • about 7 h of lessonsحوالي 7 ساعة من الدروس
  • 10 modulesوحدات · 20 lessonsدروس
  • Englishالإنجليزية

Learn C# from zero and build real .NET projects: types, decisions and loops, strings, collections and LINQ, methods, errors and debugging, classes and records, then projects, NuGet packages, unit tests with xUnit, async, and your first web API with ASP.NET Core. Written lessons follow Microsoft's official docs; video lessons play pieces of freeCodeCamp's full C# course. Plan: 10 weeks, about an hour a day.

byمن إعداد inPace checkedموثّق

csharpdotnetprogrammingbeginnerbackend

On these roadmaps:ضمن هذه المسارات: .NET developer

What's insideمحتوى الدورة

Each module ends with tasks. The next module opens when they're done.تنتهي كل وحدة بمهام، وتُفتح الوحدة التالية عند إنجازها.

  1. Getting started 2 lessonsدروس · 40 min د
    • Start here20 min د
    • How a C# program is builtYouTubeيوتيوب20 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  2. Types, variables and operators 2 lessonsدروس · 35 min د
    • Types, variables and conversionsYouTubeيوتيوب20 min د
    • Operators and mathYouTubeيوتيوب15 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  3. Input, decisions and loops 2 lessonsدروس · 35 min د
    • Reading input safelyYouTubeيوتيوب15 min د
    • if, switch and loopsYouTubeيوتيوب20 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  4. Strings 1 lessonsدروس · 25 min د
    • Working with stringsYouTubeيوتيوب25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  5. Arrays, lists and dictionaries 2 lessonsدروس · 45 min د
    • Arrays and List<T>YouTubeيوتيوب20 min د
    • Dictionaries and LINQYouTubeيوتيوب25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  6. Methods 1 lessonsدروس · 25 min د
    • Methods and parametersYouTubeيوتيوب25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  7. Errors and debugging 2 lessonsدروس · 35 min د
    • ExceptionsYouTubeيوتيوب20 min د
    • Debugging in VS Code and Visual StudioYouTubeيوتيوب15 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  8. Classes and structs 2 lessonsدروس · 50 min د
    • Classes, properties and constructorsYouTubeيوتيوب25 min د
    • Structs, records, interfaces and inheritanceYouTubeيوتيوب25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  9. .NET projects, packages and tests 3 lessonsدروس · 60 min د
    • The .NET CLI, projects and solutions20 min د
    • NuGet packages15 min د
    • Unit tests with xUnit25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  10. Your first web API 3 lessonsدروس · 65 min د
    • async and await20 min د
    • A minimal API with ASP.NET Core30 min د
    • Final project and where to go next15 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة

Read a lesson firstاقرأ درسًا أولًا

Start here

C# (say "C sharp") is a modern, typed language made by Microsoft. .NET is the free, open-source platform it runs on, on Windows, Mac and Linux. Together they build web APIs and websites, desktop and mobile apps, cloud services and games (Unity uses C#).

How this course works

  • Written lessons are the core. They follow Microsoft's own C# documentation, which is the most accurate and up-to-date source there is.
  • Videos are optional. Most written lessons have a piece of freeCodeCamp's Learn C#: Full Course with Mini-Projects on top, showing the same ideas being coded. Watch it if it helps; the text alone is enough.
  • Each module ends with a program to write, a question, and a quiz.
  • The last two modules go beyond the video: real .NET projects, packages, tests, and your first web API.

Your plan: 10 weeks, about an hour a day

Week Module
1 Getting started
2 Types, variables and operators
3 Input, decisions and loops
4 Strings
5 Arrays, lists and dictionaries
6 Methods
7 Errors and debugging
8 Classes and structs
9 .NET projects, packages and tests
10 Your first web API

Install the tools

  1. Install the .NET SDK (the newest LTS version) from dotnet.microsoft.com/download.
  2. Pick an editor: VS Code with the C# Dev Kit extension (any system), or Visual Studio Community (free, Windows; the video uses it).
  3. Check it works, then make and run your first program:
dotnet --version
dotnet new console -o Hello
cd Hello
dotnet run

You should see Hello, World!. Prefer to try without installing? Microsoft's interactive Hello world tutorial runs in the browser.

Licenseالرخصة: CC-BY-4.0 · Updatedآخر تحديث 2026-11-14

Video: Learn C#: Full Course with Mini-Projects by CoffeeNCode, on the freeCodeCamp.org YouTube channel, embedded from YouTube. Written lessons, tasks and questions: inPace, based on Microsoft's C# and .NET documentation (learn.microsoft.com, CC BY 4.0).

Add to inPaceأضف إلى inPace