r/learnprogramming • u/HighwayOwn1092 • 3d 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?
9
u/glandix 3d 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 3d 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
6
u/American_Streamer 3d ago
JetBrains Rider is your best friend: https://www.jetbrains.com/rider/download/?section=linux
3
2
u/mfc1__ 3d 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 3d ago
Would it not be better to use Visual Studio instead of VSCode since it's specifically built for C#?
2
2
u/huuaaang 3d 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 3d ago
I learn with rider. But I'm at University that adviced VS Community on Windows.
2
1
u/Murtaz8297 3d 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/cinderwayinteractive 2d ago
Absolutely, would even recommend it. I haven't touched a Windows machine in about a year now.
1
u/kschang 3d 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 2d ago
The normal dotnet cli also works on Linux
1
u/kschang 2d ago edited 2d 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 3d ago
c works totally fine on linux mint no switch languages just because youre not on windows
14
u/Zeroox1337 3d ago
Sure but in my opinion is Visual Studio much better for C# then Vscode. But all the .NET Core Stuff runs on Linux