←back to thread

30 points Fire-Dragon-DoL | 1 comments | | HN request time: 0.292s | source

I worked with C# about 15 years ago. Due to some circumstances at work, I have the opportunity to use it again.

What are some great books that could help me learn to write *modern* C#?

I will mostly work with web and .NET Core, are there books specifically about using .NET Core on Linux?

1. CrimsonCape ◴[] No.46196801[source]
I been using C# since .Net Framework 4.6, jumped to .Net 6, and have kept up to .Net 9 when starting new projects.

My advice is to download .Net 9 SDK because it's now super easy to create a file with extension .cs, put your terminal window next to your code, and call `dotnet run file.cs` and it just works. The compiler will teach you a lot because the errors are extremely easy to follow.

I never bought into books because too many language features have been added in the past years that improve on "old" ways.

The only complaint I have is that Google is still the best interface for navigating the docs. Spamming google over and over. Solving this in an easily greppable way is on my wishlist.

Especially because I see the MSDN docs are rolling out new "Did you want to generate a sample of this? Here's a prompt you can copy paste into Copilot to generate an example: xxxxxxx blah blah"