Hacker News new | ask | show | jobs
by Nickydigit 672 days ago
Thanks for the run down !

Though I was under the impression that C# was closely related to Microsoft services and thus Windows OS ?

Not that I mind as I also run Windows on my personal machines but could be an issue for specific projects if it was the case.

1 comments

It hasn't been the case for about 8 years already :) And even before that with Mono!

The windows-only thing is a sad lie spread by people with irrational dislike to something that can make their life much better.

I daily drive it with macOS and it's awesome, a friend of mine uses it with Neovim and csharp-ls.

I see !

I will look into it as I did a bit of Java and a tiny bit of C# during my education and liked both the syntax and the OOP approach !

Just a note that C# DevKit extension in VS Code is not needed. You only ever need base C# extension[0] which gives you code completion, navigation, etc. with Roslyn LSP. Other than that, I recommend skipping complex UIs in VS or Rider for building projects for now and just using CLI - it's a much more streamlined experience.

With that said, if you have JetBrains license, Rider is great and works everywhere if you prefer rich IDE approach.

For debugging when you press F5 in VSC, it will offer you to create build and debug config - just say yes and pick the project. It will launch it next time you press F5.

[0]: https://marketplace.visualstudio.com/items?itemName=ms-dotne...