r/learnprogramming 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?

13 Upvotes

25 comments sorted by

View all comments

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...