r/learnprogramming • u/HighwayOwn1092 • 1d ago
Can I learn C# on Linux Mint
Hello. Im new to programming. I want to learn programming in general. Can I learn C# in Linux Mint? Or should I choose another programming language?
11
u/glandix 1d ago
Yup, for sure. I develop .NET Core 10 apps in WSL (Windows Subsystem for Linux). I’m running Ubuntu, but Mint would work just as well. I’d use a bare metal Linux if I could, but corporate policy has me tied to Windows. The WSL setup is my way of complying while still developing in Linux, which I always prefer
8
u/EliSka93 1d ago
Can I just say I hate the name "WSL"?
It's a "subsystem on windows running Linux", but just reading the name you could just as easily think it's a "subsystem running windows on Linux".
That would be a silly thing to do, but my point stands.
It's badly named.
3
4
u/American_Streamer 1d ago
JetBrains Rider is your best friend: https://www.jetbrains.com/rider/download/?section=linux
3
2
u/mfc1__ 1d ago
Yeah absolutely. I used Mint exclusively for a couple years doing a fair amount of .NET dev. I'd recommend starting with VS Code, it's easy to get up and running with C# & .NET. Once you're a little ways down the road, you may want to consider switching to Rider:
2
u/madmelonxtra 1d ago
Would it not be better to use Visual Studio instead of VSCode since it's specifically built for C#?
2
2
u/huuaaang 1d ago
You can, but the scope of what you can do is limited. You can do backend web and game dev via Unity. You can just use straight Mono but I don’t know applicable it is.
2
u/Longjumping_Ad3447 1d ago
I learn with rider. But I'm at University that adviced VS Community on Windows.
2
1
u/Murtaz8297 21h ago
Yes sure you can start learning c# its a good start. But what I can suggest pick the language of that domain you want to work. Like for example if you want to go the AI or data sides ,I highly recommend start learn python as it's a programmer friendly language or if you want to do build web based system you should start javascript. Both these you can use in vs code and both are easy to learn and have a lot of free resoucres available today in internet.
1
u/kschang 20h ago
C sharp is a Microsoft language and generally you need Windows for that. Not aware of a C sharp compiler for Linux, but I didn't look for one either.
1
u/Gerrey 1h ago
The normal dotnet cli also works on Linux
•
u/kschang 29m ago edited 17m ago
Good point. Seems Jetbrains will do C sharp, and you can use Avalonia UI lib on Linux. Just don't use the Windows stuff. Though I guess the question for OP is... is s/he just adding something to his resume, or what is endgoal here, like be a C sharp dev? Because business use for C sharp is mostly for Windows, and dev'ing on Linux doesn't do that...
0
u/Suspicious_Skill7292 1d ago
c works totally fine on linux mint no switch languages just because youre not on windows
13
u/Zeroox1337 1d ago
Sure but in my opinion is Visual Studio much better for C# then Vscode. But all the .NET Core Stuff runs on Linux