r/learncsharp • • Feb 23 '21

What is the most difficult for you to learn C#?

29 Upvotes

What is the most difficult for you to understand when you're learning C#? What feels hardest to understand?

I am asking because I am preparing content and I would like to know what are the problems when you're starting. Been quite some time for me and few things might have changed.

I appreciate every answer. Thanks in advance!


r/learncsharp • • Jul 14 '26

SOLID on .NET: From Spaghetti Code to Clean Architecture (Practical Refactoring)

28 Upvotes

Whenever the topic of "SOLID" comes up, it's common to see a flurry of abstract theoretical explanations. The problem is that, in the day-to-day life of the development trench, pure theory does not pay the bills. We need to know how to apply this in production code.
Before getting our hands dirty, let's align a fundamental concept that many people confuse: SOLID is not a Design Pattern or an Architectural Pattern. * Design Patterns (GoF): These are tactical recipes for recurring problems (such as using a Factory or a Singleton).

  • Architectural Patterns: These define the macro structure of your system (such as Clean Architecture or Microservices).

  • SOLID: It is a set of Software Design Principles. They are the philosophy behind clean code. We use the Design Patterns precisely to help us achieve the SOLID Principles.

The acronym stands for five basic commandments:

  • S - Single Responsibility Principle (SRP): A class should have only one reason for changing.

  • O - Open/Closed Principle (OCP): Open for extension, closed for modification.

  • L - Liskov Substitution Principle (LSP): Child classes cannot break the expected behavior of parent classes.

  • I - Interface Segregation Principle (ISP): Do not force anyone to depend on methods that they will not use.

  • D - Dependency Inversion Principle (DIP): Depend on abstractions (interfaces), not concrete implementations.

Enough with the theory. Let's see the disaster happen in practice.

The Scenario: The CheckoutService Nightmare

Imagine that you have just taken over the maintenance of a legacy e-commerce and found the class responsible for processing the closing of purchases.
See if this code looks familiar:

C#

public interface IOrderProcessor
{
    void ProcessOrder(Order order);
    void ProcessCryptoPayment(Order order); Not every processor accepts crypto
}

public class CheckoutService : IOrderProcessor
{
    public void ProcessOrder(Order order)
    {
        // Mixed Business Rule (Discounts)
        if (order.CustomerType == "VIP")
        {
            order.TotalAmount -= order.TotalAmount * 0.20m;
        }
        else if (order.CustomerType == "Premium")
        {
            order.TotalAmount -= order.TotalAmount * 0.10m;
        }
        else
        {
            order.TotalAmount -= order.TotalAmount * 0.05m;
        }

        // Tightly coupled data access
        using (var connection = new SqlConnection("Server=myServerAddress; Database=myDataBase; User Id=myUsername; Password=myPassword;"))
        {
            connection.Open();
            var command = new SqlCommand("INSERT INTO Orders (Id, Total) VALUES (@id, u/total)", connection);
            command.Parameters.AddWithValue("@id", order.Id);
            command.Parameters.AddWithValue("@total", order.TotalAmount);
            command.ExecuteNonQuery();
        }

        // External communication (E-mail) coupled
        var smtpClient = new SmtpClient("smtp.meuservidor.com");
        smtpClient.Send("[email protected]", order.CustomerEmail, "Order Confirmed", "Your order has been saved!");
    }

    public void ProcessCryptoPayment(Order order)
    {
        The store doesn't accept crypto natively yet, so the previous dev did this:
        throw new NotImplementedException("Cryptocurrency payment not yet supported.");
    }
}

Why is this code a ticking time bomb?

If we need to add a new customer type ("Black Friday"), we will have to modify the class. If we need to change the database to the Entity Framework, we have to modify the class. If we need to swap sending email for a queue in RabbitMQ or AWS SQS... guess what? Modify the class.
In addition, the class is forced to sign a contract (IOrderProcessor) that obliges it to have a cryptocurrency payment method that it does not even support, throwing an exception along the way.
This class is violating all 5 letters of SOLID simultaneously.

Applying SRP and OCP in Practice

Looking at our original CheckoutService class, it's clear that it knows too much and does too much. Let's solve this by clearing the first two letters of SOLID.

The true meaning of the "S" (SRP - Single Responsibility Principle)

The literal translation is Principle of Single Responsibility. But herein lies SOLID's biggest catch: what exactly is a "responsibility"?
If you ask most developers, they'll tell you that our class's responsibility is to "close the order." Sounds like a single thing, right? Wrong.
The creator of the term himself, Robert C. Martin (Uncle Bob), clarified this: A responsibility is a "reason to change".

Think with the architect's hat:

  • If the Marketing team asks for a new discount rule, this class changes.

  • If the DBA asks to change the database connection, this class changes.

  • If the Infrastructure team asks to change the email provider, this class changes.

The class has three reasons for change, answering to three different actors in the company. Therefore, it violates the SRP.
To solve this, let's extract persistence and notification for your own abstractions:

C#

public interface IOrderRepository
{
    void Save(Order order);
}

public interface INotificationService
{
    void SendConfirmation(Order order);
}

Aplicando o "O" (OCP - Open/Closed Principle)

The Open/Closed principle says that our class should be open for extension, but closed for modification.
In our bad code, the discounts were calculated with an if/else ladder. If the store creates the "BlackFriday" customer type, the developer would have to open the CheckoutService and add one more else if. This is risky and increases the chance of breaking rules that already worked.
In modern .NET, we easily solve this by using Dependency Injection combined with the Strategy Pattern. We created a business rule that our main class just consumes, without needing to know how it is calculated from the inside:

C#

public interface IDiscountRule
{
    bool IsMatch(string customerType);
    decimal Calculate(decimal totalAmount);
}

public class VipDiscountRule : IDiscountRule
{
    public bool IsMatch(string customerType) => customerType == "VIP";
    public decimal Calculate(decimal totalAmount) => totalAmount - (totalAmount * 0.20m);
}

The Partial Result: A Class That Orchestrates, Not Performs
See how our CheckoutService starts to look like senior code. It no longer does the dirty work; it just delegates.

C#

public class CheckoutService : IOrderProcessor
{
    private readonly IEnumerable<IDiscountRule> _discountRules;
    private readonly IOrderRepository _repository;
    private readonly INotificationService _notificationService;

    Dependencies are injected into the constructor
    public CheckoutService(
        IEnumerable<IDiscountRule> discountRules,
        IOrderRepository repository,
        INotificationService notificationService)
    {
        _discountRules = discountRules;
        _repository = repository;
        _notificationService = notificationService;
    }

    public void ProcessOrder(Order order)
    {
        // OCP: Finds the correct rule without using if
        var rule = _discountRules.FirstOrDefault(r => r.IsMatch(order.CustomerType));
        if (rule != null)
        {
            order.TotalAmount = rule.Calculate(order.TotalAmount);
        }

        // SRP: Delegates persistence (It doesn't matter which database it is anymore)
        _repository.Save(order);

        // SRP: Delegates notification (It no longer matters if it's SMTP or AWS SES)
        _notificationService.SendConfirmation(order);
    }

    public void ProcessCryptoPayment(Order order)
    {
        throw new NotImplementedException("Cryptocurrency payment not yet supported.");
    }
}

Notice: If we need to add a "Black Friday" discount tomorrow, just create a new class that inherits from IDiscountRule. CheckoutService will never need to be touched for this again. It is closed for modification.

Fixing Inheritance and Reversing Dependencies (LSP, ISP, and DIP)

Our CheckoutService is already much better, but we still have an aberration at the end of the class:

C#

public void ProcessCryptoPayment(Order order)
{
    throw new NotImplementedException("Cryptocurrency payment not yet supported.");
}

This brings us directly to the two most misunderstood letters of SOLID: L and I.

The "L" and the "I": The dynamic duo against the fragile code

The LSP (Liskov Substitution Principle) says that if your system expects the IOrderProcessor interface, it should be able to use any class that implements it without the program breaking.

If another developer receives our injected class via IOrderProcessor and tries to call ProcessCryptoPayment, the system will explode with an error in the user's face. We have broken the Liskov principle because our class does not fulfill the contract it signed.

And why were we forced to break this contract? Because of the ISP (Principle of Interface Segregation) violation. The ISP dictates that no client should be forced to rely on methods they don't use.

Our original interface was too "fat". The solution is not to create "workarounds", but to segregate (divide) the interfaces:

C#

// Interface focused only on standard processing
public interface IOrderProcessor
{
    void ProcessOrder(Order order);
}

// New interface only for those who really process cryptocurrencies
public interface ICryptoPaymentProcessor
{
    void ProcessCryptoPayment(Order order);
}

Now, our CheckoutService only subscribes to IOrderProcessor, and we've completely removed the ProcessCryptoPayment method from it. Clean code, no surprise exceptions!

The "D": Inversion of Dependence in Practice (DIP)

The last letter, the DIP (Principle of Inversion of Dependence), says that high-level modules should not depend on low-level modules; both should depend on abstractions.

In Version 1 (the bad code), CheckoutService (high-level) relied directly on SqlConnection and SmtpClient (low-level).

In our refactored version, CheckoutService relies only on interfaces (IOrderRepository, INotificationService). But how does the system know which database to use?

In modern .NET, we solve this the moment the application is born (in Program.cs), using the native Dependency Injection container:

C#

using Microsoft.Extensions.DependencyInjection;
using SOLID_Project.Interfaces;
using SOLID_Project.Services;
using SOLID_Project.Models;

namespace SOLID_Project
{
  internal class Program
  {
    static void Main(string[] args)
    {
      // We instantiate the Dependency Injection container.
      var services = new ServiceCollection();

      // We record the Discount Rules (OCP).
      services.AddScoped<IDiscountRule, VipDiscountRule>();

      services.AddScoped<IOrderRepository, FakeOrderRepository>();
      services.AddScoped<INotificationService, FakeNotificationService>();

      // We register our main service (DIP).
      services.AddScoped<IOrderProcessor, CheckoutService>();

      // We build the provider that will resolve the instances.
      var serviceProvider = services.BuildServiceProvider();

      // We request the ready-to-use instance.
      var checkoutService = serviceProvider.GetService<IOrderProcessor>();

      // Example of usage (if the Fake classes are implemented):
      var order = new Order { Id = 1, CustomerType = "VIP", TotalAmount = 1000m };
      checkoutService?.ProcessOrder(order);
      Console.WriteLine("Order successfully processed!");

      Console.ReadLine();
    }
  }
}

If tomorrow the company decides to switch from SQL Server to MongoDB, CheckoutService won't even know about it. We create a MongoOrderRepository, change a single line in the Program.cs, and the system continues to work. That's the power of Dependency Reversal.

Conclusion

Applying SOLID isn't about creating dozens of folders and files just to look "Enterprise." It's about protecting the core of your business against the inevitable real-world changes.

When you separate responsibilities (SRP), protect existing rules (OCP), respect contracts (LSP and ISP), and decouple infrastructure (DIP), your code is no longer a burden and becomes a tool that accelerates the company.

And you, which SOLID principle do you find the most difficult to apply on a day-to-day basis in .NET projects? Leave your opinion in the comments!

NOTE: This project is available for download at https://github.com/davinc131/SOLID-Project


r/learncsharp • • Mar 29 '22

What Is C# And Why You Should Learn It?

28 Upvotes

I made this blog post for beginners who are confused about which programming language to start with and for seniors who want a better backend framework. I mainly explained why C# is a beginner's best choice.

Url:

https://lovelacecoding.hashnode.dev/why-you-should-learn-c


r/learncsharp • • Dec 07 '21

If you aren't using breakpoints this will open up a whole new world! If you are, you may learn something new like I did!

28 Upvotes

I created a video showing all of the different features available when using breakpoints in Visual Studio 2019.

I'm hoping this will get more people using breakpoints!! I think they are one of the best tools for learning CSharp

https://www.youtube.com/watch?v=vLAwcbLWkrQ


r/learncsharp • • Mar 18 '20

Live C# lessons on twitch with homework and mentoring

28 Upvotes

I love helping people, I do it for free. For the past 2 years, I have been building a community where we aim to create a stress-free, relaxed environment where people can help each other out with .NET related questions.

Today, 9 PM Gmt+2 is going to be lesson 3 of C# Boot camp. All about null, the related operators and quality of life syntax.

https://www.twitch.tv/kaisinel

If you want join the community, here is the link:
https://discord.gg/rCMKcUU


r/learncsharp • • 24d ago

How do you learn C# in 2026?

27 Upvotes

Hi, as you've seen from the title I want to learn C# specifically in the Game Development and Desktop App department, the only problem is I don't know where to start from.

I've studied Python before as a kid so I'm pretty familiar with some programming theories and concepts, but I want to start creating (as in my opinion the best way to learn is by creating) but i can't really pinpoint a starting point.

I'd really appreciate if someone can help me!


r/learncsharp • • Nov 11 '22

15 Minute Coding Challenges in C#: Decrypting Terrible Passwords

27 Upvotes

Happy Friday everybody!

tl;dr

I participated in a 15 minute coding challenge. Watch my thought process as I sweat my way through it: LINK

I'd love your feedback on how to improve my videos for a class I'm teaching.

Details

I am a computer science teacher and am preparing to teach a class in the spring called, "Intro to Competitive Programming" in which students learn strategies for approaching programming problems like those on HackerRank, LeetCode, and CodinGame.

To help prepare for this class, I am recording myself live coding through various coding challenges and talking through my thoughts and process. I would love any feedback you might have on my approach to problems as well as my videos.

Do you think this video would be helpful to a programmer who has the basics under the belt? If so, what is helpful? If not, what could I do better?

Thanks in advance!


r/learncsharp • • Oct 25 '21

C# is pretty cool once you learn more beginner-friendly languages first

27 Upvotes

I tried to learn C# as my first language but it was so confusing to need so much code to say "Hello World!" I was pulled away from C# by languages like Python, Ruby, and Javascript because they only need one line to accomplish the same thing. However, the simplicity becomes a pain in the ass once you start writing more complex and longer programs.

I'm giving C# another shot and I feel like I can write code today and still understand exactly what it's doing if I come back to it 6 months later. It also seems like it would be much easier to read another person's code, instead of hoping everyone uses the same style guide or formatting extension for their editor.


r/learncsharp • • Nov 01 '20

C# Inn- the most friendly C# programming community on Discord

27 Upvotes

Have you ever wanted a senior programmer friend? What about hundreds of such friends? Friends, who help when you are stuck. Pals, who give feedback on your code, career advice. Mates, who would never look down on you and accept any question that you have. Kind people, who not just want to give you an answer, but lead you to it by giving hints.

C# Inn is a community on Discord which tries to do just that. Our #1 goal is to create a community, where programmers discuss everything freely and help each other out. We help with questions, software design, career, projects; we do events like hackathon, code reviews, interviews and many more! We simply want to learn from each other.

We’ve been around for more than 2 years now: 5.8k members, thousands of questions answered, hundreds of events organized. Would you like to be a part of our community?

C# Inn Discord invitation link: https://discord.gg/rCMKcUU


r/learncsharp • • May 07 '17

C# Tutorial for Beginners

27 Upvotes

r/learncsharp • • May 30 '26

Good courses for C#

26 Upvotes

I have been looking for a beginner friendly C# course but most of them have been instantly overwhelming me with information or not telling me how things work.

Any help would be appreciated.


r/learncsharp • • Apr 13 '23

Learn C# – Part 2: Variables

26 Upvotes

Each week I will be releasing a new chapter on how to learn C# from A to Z. With this week: Variables in C#. Here you'll get an introduction to C# Variables.

The goal is to give you a good introduction to variables. But note that you will encounter variables in up coming chapters too. This chapter teaches you what variables are and how you use them.

Find the tutorial here: https://kenslearningcurve.com/tutorials/learn-c-part-2-variables-in-c/

Feel free to let me know what you think. Comments and suggestions are welcome.

Next week: Classes!


r/learncsharp • • May 27 '22

Beginner, intermediate and advanced levels of the c#

26 Upvotes

Hello all, I am new to c# and my company uses c# so I am learning it, I am new to OOP so I wanted to know what would you consider as beginner, intermediate and advanced levels of the c# langauge. Any roadmap that you would suggest for a person who is self-taught and learned javascript as their first language ?? I tried to learn from MS docs but it's easy to get lost in it, for example, I open the docs to learn about lists cause I've seen some videos on youtube use it, I scroll down and see the example program and there are classes, I am familiar with classes but there is also the method with override, static, words in it, so I look what override is and it's called access modifiers, and now in the example program I used to see public now there's private, some have "static void main() ". This is how my learning goes whenever I open the docs, any advice would also be helpful, as a person who learned JS first is there some pre requisites that I need to know before learning c#.


r/learncsharp • • Jan 19 '20

C# boot camp. Lesson 3: Functions

26 Upvotes

Slides: https://docs.google.com/presentation/d/1p5SWHATsSFk7WQlm183JLFFDUa9xV64ZhIwYJnfCxKs/edit?usp=sharing
Twitch video: https://www.twitch.tv/videos/538049307
Git: https://github.com/csinn/CSharp-From-Zero-To-Hero/tree/Chapter1/Lesson/Functions

It is also really cool to see lesson 2 PRs coming through 🙂 30+ homeworks PRs already submitted by people who had 0 prior xp with git!

Next lesson: Logical flow We will talk about If and switch statements, also ways how to manage it and reduce scope. https://www.timeanddate.com/countdown/generic?iso=20200122T21&p0=3934&msg=%EF%BC%A3%23+boot+camp.+Lesson+4%3A+Logical+flow&font=cursive


r/learncsharp • • Jun 09 '25

In 2025, you've got 2 months, 7 hours a day. would you buy Udemy/Pluralsight, read Microsoft Docs or other things, to learn C# from scratch? And to build a codebase that must be deployed to real end-users.

25 Upvotes

The codebase must include those good standard pratices e.g.

  1. Logging

  2. Unit testing

  3. Design pattern.

  4. SOLID AND OOP

  5. High cohesion and low coupling.

For me I would choose Udemy/Pluralright, they teach real stuff that devs use daily, cause the instructor are devs

Besides, I find learning by reading docs as a complet new beginner impossible for me, maybe cause I'm not English native speaker. and they use some difficult words/formulation.

But I somehow belive if you can make ToDo App you are ready to read docs.


r/learncsharp • • Apr 20 '23

Learn C# – Part 2: Understanding Classes

25 Upvotes

Each week I will be releasing a new chapter on how to learn C# from A to Z. With this week: Understanding Classes in C#. Here you'll get an introduction to C# classes.

A class is a blueprint of an object. It contains data and the behavior of that object. You can also add properties, methods, events, and fields to the class. A class needs to be initialized, just like a variable. They are really important for us because they give structure to our applications. Classes are in all OOP languages, so not only C#. Classes in C# are easy to create and maintain. This article will show you the basics of classes in C# and properties.

Find the tutorial here: https://kenslearningcurve.com/tutorials/learn-c-part-3-classes-in-c/

Feel free to let me know what you think. Comments and suggestions are welcome.

Next week: Methods!


r/learncsharp • • Feb 09 '23

The C# Academy

25 Upvotes

A couple days ago I found a website called The C# Academy. It seems like a free website so far. I'm not sure if it eventually costs money. The tutorials and projects advertised look like fun. The best way I learn is by doing projects rather than reading. I don't own the site but the person has a similar story to me. I'm just starting the console into now. I also enjoy The C# Players Guide book but it is not free. Maybe someone who is looking for a different approach to learning will like one of those resources.


r/learncsharp • • Aug 18 '21

C# Learn with others: monthly challenges, projects (private and open source), pair programming

25 Upvotes

I have been very busy lately due to school but im getting more and more time over now so its time to welcome some new people to learn with.

We are currently around 1250members (not all are active)

This is a discord server filled with people learning C# and also C# devs. Everyone is welcome no matter what skill lvl, everything on the server is free.

We have:

  • Open source projects such as our own discord bot that will let users create a project with other members

  • Private projects

  • Pair programming: One guy codes the other watches and then they switch.

  • Challenges with deadlines

  • People that enjoy helping others and want to learn with others

  • A place where everyone is welcome no matter what and feedback+constructive criticism is appreciated

This is a place for serious people that are interested in either learning C# or helping others learn. I am sharing this because everyone deserves to be a part of a community like this. Learning to code is for everyone, the same goes for learning to write good code.

Link: https://discord.gg/F3Z9EFadP5 Remember to introduce yourself and ask questions to get the most out of the group.


r/learncsharp • • Jun 17 '19

Tim Corey appreciation

25 Upvotes

Been leaning C# for about 13 months. Last 5 official with an apprenticeship. I have tried a few YouTube tutorials but personally nothing comes close to Tim Corey. He's great! His pace of learning and explanation is second to none. Has anyone used his paid service?


r/learncsharp • • Feb 23 '22

State of the subreddit (2/23/2022)

24 Upvotes

I apologize for dropping the ball on moderating/promoting this subreddit and it should be way more active than it is now. I know some people have been having issues with getting through to the modmail or having their posts removed.

At this point I'm looking for assistance in moderating and growing this community. If you are interested, please respond below or PM me directly and we can see if you'd be a good fit.


r/learncsharp • • Mar 11 '21

C# Boot camp v2 invitation (and v1 material)

24 Upvotes

Hello,

For the last 3 years, I have been helping people learn to program (in C#, but the language itself does not matter). Usually, I would do this either through a Q/A on Discord or by live-streaming lessons on Twitch.

My last attempt can be found here:

https://github.com/csinn/CSharp-From-Zero-To-Hero

Full material:

https://github.com/csinn/CSharp-From-Zero-To-Hero/wiki/Summary

Hopefully, someone will find these resources useful :).

However, I often lacked a social aspect of learning- a more group-like activity. This is exactly what I would like to do- to start from lesson 1 and have the same group of people- guiding them through- from 0 to be good enough to land a job.

The lessons would happen over the weekend and would take roughly 2-3h (aim for 2h, but if the group is not doing well, we can extend by 1h more) and be followed by homework (at least a few hours more). I am not yet sure which day it would be on or at what time. It depends on the majority. The lessons would be all practical. I would show relevant theory in advance (before the lesson), but we would go through it using real examples in code, which I would write on the spot, together in a group.

Overall, this is a boot camp that surpasses most programming boot camps for which people pay thousands of dollars because on top of being live, with custom material and an instructor it:

  • Is 100% free.

  • Includes homework assignments that you can do at your own pace (with automated tests and mentor review).

  • Is taught by a person who is doing this not for money, but for the joy of helping others.

  • Is backed by a community of like-minded friendly people who can help you whenever you have a question. It's not just 1 person helping you, it's at least a few dozen others.

  • Shared with the rest of the people. By just learning and having questions, you actually help others, similar to you.

Requirements:

  • Be able to dedicate at least 5h / week.

  • Microphone (though not mandatory, it's very recommended)

  • Discord account

If you are interested, please leave a comment stating why would you like to take part in the lessons. Also, feel free to drop any questions :)

Good luck!


r/learncsharp • • Nov 25 '25

How do y'all actually "learn" some of these C# practices? And is actually learning it needed?

23 Upvotes

I've been working as a Dev for almost 2 years now and from college up until current day I've always just referenced things as I've needed it.

For example, setting up OnPropertyChanged() the manual way.

I've always just looked it up but when y'all are programming, are you guys actually memorizing/learning/understanding why exactly it's typed the way it is?

I know for a fact I wouldn't be able to just figure out PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(property name));

I tend to just learn what I need to do something and then look up how to implement it.

In your opinion, is learning the deeper code worth the hassle or is understanding what's needed more important?

Happy to clarify any confusion, I hope this makes sense.


r/learncsharp • • May 26 '23

Learn C# – Part 8: Object-Oriented Programming

23 Upvotes

Each week I will be releasing a new chapter on how to learn C# from A to Z. With this week: Object-Oriented Programming with C#.

Although most people do know what Object-Oriented Programming means, they don't really know they have been doing it for a long time. Especially with C#, but also with Java, Python, and other popular languages.

In this article, I am going to walk through the idea of Object-Oriented Programming, or OOP for short. Showing you what OOP means, why we use it, and what the reasons are to use OOP. If you are a beginner in C# this might feel overwhelming for some. But OOP is really important to know and understand.

I will also be discussing encapsulation, inheritance, polymorphism, abstraction, interfaces, and modularity.

Find the tutorial here: https://kenslearningcurve.com/tutorials/learn-c-part-8-object-oriented-programming/

Feel free to let me know what you think. Comments and suggestions are welcome.

Next week: Basic architecture and a new project.


r/learncsharp • • Apr 11 '23

Guidance to learn C# for Web Development

23 Upvotes

Hello!, everyone.

I have a little bit of learning experience on Html, Css, basic javascript (haven't learnt frameworks yet) , basic database development with MSSQL, MYSQL.

Some circumstances had led me to prioritize and learn C# and related things for web development now. I have gone through the C# tutorial and exercise on W3schools website and started reading the C# Yellow Book currently.

I have discovered lists of books like
•C# 11 and .net 7 - modern cross-platform development,
•C# in a nut shell,
•C# Player guide,
•Pro C# 7 with .Net and .NetCore
•C# in depth , etc...
I do not know good video resources tho. Which book do you want me to do after Yellow Book? :)

I'd love to know your recommendation and guidance on Things to learn and good resources to learn C# and related things for web development further on. Especially, Video courses..., Books... everything is fine with me, i guess.

Thank you for your time and guidance :)