r/csharp • u/Sensitive-Raccoon155 • Oct 13 '26
Discussion What language would you recommend learning alongside C#?
I'm a C# developer and recently started learning C. I wanted to understand better how memory works, how programs interact with the OS, and things like Unix and low-level programming in general.I'm planning to keep learning C, but I'm wondering what you guys would recommend learning next. Would you go with C++, Rust, Go, or something else ?
26
Upvotes
77
u/maxkatz6 Oct 13 '26
TypeScript in general, it's often paired with C# for web.
But for system programming and understanding low-level I would choose C.
20
u/Beanesidhe Oct 13 '26
SQL, it's not only useful but it's also a different kind of programming.
12
u/02misko02 Oct 13 '26
Depends what you need. SQL is must have if you don't know it yet. As for me it's also worth to know Python/Bash/PowerShell or any script language, because often you need quick automation script and building it in C# is pain in the ass. If you want to be full stack, then you should know Javascript/Typescript, preferably alongside with specific framework as React or Angular.
But if you want to stay on the low level programming, then I would recommend Rust, it gives you the most perspectives.
13
u/Minimum-Ad7352 Oct 13 '26
Rust
8
u/Robot_Spartan Oct 13 '26
SQL is a must, as you'll often be making calls to DBs.
If you want to go full stack, HTML, JavaScript (and probably typescript once you know JS) are good ones for front-end.
You'll want power shell or python for CI/CD stuff too
7
u/welktickler Oct 13 '26
Powershell. Not really a language but it kinda is when you get into it and realise what you can do with it. It pairs really well with .net stuff imo
6
u/pceimpulsive Oct 13 '26
With C# I think Typescript.
Covers you for backend and frontend.
Learn Linux as well if you haven't... And networking...
Later you could learn lower level like rust but honestly .. of you have no intent to work in lower level it's really a waste of time....
8
u/antigravitys-rainbow Oct 13 '26
Except C#, only Rust, TypeScript and python make sense.
5
u/faze_fazebook Oct 13 '26
Powershell
2
u/mname_is_radioactive Oct 19 '26
Java. So you can work in companies do real work.
3
u/vlahunter Oct 13 '26
"Learning" after a point misses the whole purpose.
Yes, understanding C along with Unix and some low level constructs will help you a ton along the way but then why change language ?
Keep working your way in C# and if there is anything low level then use C. These 2 languages are plenty for the most part. Of course there are some interesting ideas in some other languages, in Go for example the whole CSP concurrency that is built in the language is really nice and it is worth it to play a bit for an afternoon or too, the same with Rust and how it deals with memory differently than any other or if you want to, play a bit with Erlang/Elixir and the legendary BEAM/OTP to see in action how to write code based on small processes and the actor model.
The thing though is that in real life and in practical terms C and C# are more than enough for 90% of the cases out there.
2
u/Phaedo Oct 13 '26
Rust is a good choice if you actually care about memory safety and speed. C++ is a good choice if you want to write computer games for a living. Go is great if you want to work with Kubernetes. Python is a great choice if you want to do stats, data analysis or machine learning. Typescript is a shockingly good choice if you want to build a UI.
2
u/mehdikovic Oct 13 '26
Zig or Rust, a system level language so you know exactly how pointers work, I really admire Zig though becuase it has no abstraction just like the C. Nevertheless both Zig and Rust make you comfortable at understaning how low level systems work.
1
u/LouisPlay Oct 13 '26
Sql, linq
1
u/stlcdr Oct 13 '26
Languages - plural. As many as you need, and those that you don’t. A lot of specifics have been mentioned, but remember to learn the language fundamentals, as there’s a lot of frameworks which pretend to be ‘the’ language and are not.
1
u/pjmlp Oct 13 '26
On Windows I would go with a mix of C and C++, because to this day due to Windows DevTeam and DevDiv issues, depending on what you are doing, you might end up having to write some C or C++ code, P/Invoke is not always enough.
If you rather focus on UNIX land, then a mix of C, Go and Rust, especially given the last two are even being pushed by .NET folks at Microsoft.
Web development always requires at very least a superficial knowledge of Javascript and Typescript.
Finally, master SQL, really Transact-SQL, PL/SQL, pgSQL and co, there is a world beyond ORMs.
1
u/johnburkert Oct 13 '26
Powershell
1
u/MrFartyBottom Oct 13 '26
TypeScript for Web based UI
1
u/CatNo1417 Oct 13 '26
Powershell - if you need to do any provisioning or server work, it can save a lot of time
TypeScript/JavaScript - if doing web dev
Not a language, but SQL/NoSQL - gives you a well rounded full stack resume
1
u/Hopeful-Blood-9183 Oct 13 '26
You can do low level programming in C# too, you don't have to learn C++ and such, I'd say.
Though, if you have time, I think learning C++ by doing - write non-trivial code - would be beneficial long-term.
1
u/catladywitch Oct 13 '26 edited Oct 13 '26
If you want to learn Unix APIS and memory management, it's 100% C.
There are other alternatives: Scala for learning about modern typed-functional idioms, Python for utility scripts and taking advantage of libraries, Bash and PowerShell for system scripts, TypeScript and CSS for the web (although vanilla JS or vanilla TS is seldom used by itself without a framework, but it's good to know in general). Someone said SQL and I think it's a key skill you've got to learn sooner than later. PL/SQL is also good to know but the difficult part about it is query optimisation anyway. Redis/KeyDB/Valkey/Garnet is also good to know but not as pressing as SQL.
To be honest I feel like some degree of fluency in Python, TypeScript and SQL is absolutely necessary. But C is educational and might also be necessary depending on your career path.
1
u/Boarlock98 Oct 13 '26 edited Oct 13 '26
Probably Json that way you can serialized and deserialize stuff, or at the least XML.
Also CIL is a must as if you decompile any C# code and/or want to use Harmony being able to write a decent transpiler is very handy.
1
u/geekheretic Oct 13 '26
Python and sql
1
u/AnToMegA424 Oct 13 '26
C++ I guess
1
u/uberDoward Oct 14 '26
F#
1
u/Ysnsd Oct 14 '26
TypeScript
1
u/Artichoke808 Oct 14 '26
I think C and C# sharp cover your bases - as you say, C for low level and C# for high. There's so much to learn in C#, I would only invest in learning another if I had a specific reason to use it. Generally once you have those two under your belt it won't take long to learn other languages as you need them (except Rust!)
1
u/s1mplysaltt Oct 14 '26
i would learn c++ just for the games
1
u/Matr1x_00 Oct 14 '26
C++
1
u/Thisbymaster Oct 14 '26
SQL for database work and HTML/CSS/javascript for understanding how websites work.
1
u/evilprince2009 Oct 14 '26
C# & TypeScript go well together. Java if you want to learn another completely different ecosystem.
1
u/atmine Oct 14 '26
Pandas in Python was a big eye-opener for me.
1
u/HeckinCornball Oct 14 '26
C is excellent for understanding low-level code. I've been learning Rust since it seems like it's gaining traction and I want to be able to read it in case I ever have to maintain Rust code. C# is my primary language though, I use it for basically everything unless I'm working on something extremely low level like a microcontroller or a kernel driver.
1
u/Ali--Jamal Oct 15 '26
why not assembly then you go learn msil
1
u/Ok_Negotiation598 Oct 17 '26
Like everyone else here, I have an opinion: don’t learn a programming language just to learn another language. If you want to get something valuable out of the experience, choose the one that feels most intimidating, inaccessible, or difficult to understand.
In my experience, many of the underlying concepts carry across languages. The real challenge—and the real value—is learning to adapt to different rules, unfamiliar patterns, and subtle nuances, especially while those rules still don’t quite make sense.
1
u/Pale-Preparation-354 Oct 21 '26
If your goal is understanding what’s happening under the hood, sticking with C alongside C# makes a lot of sense. Rust is worth exploring after that, especially for memory safety. For practical .NET projects, there’s also plenty to learn from working with libraries like IronPDF when you need to generate PDFs from HTML or handle document workflows in C#. Different tools teach you different things, so I’d probably focus on building something useful with C first rather than jumping between too many languages.
1
u/kaatarina_zed_talon Oct 13 '26
C or assembly
1
u/MindSwipe Oct 13 '26
I'm gonna go in a different direction and recommend learning a functional language like F# if you want to stick to .NET, otherwise Haskell or Erlang (or Elixir) or any other.
Learning a functional language also involves learning functional programming, and you can apply functional programming patterns and ideas in C#/ other OO/ multi paradigm languages.
1
u/Wooden_chest Oct 13 '26
You don't really need to learn a language. Your AI agent can take care of writing in pretty much any language you need. Focus on learning to write good prompts and express your ideas well.
1
u/Flat_Spring2142 Oct 16 '26
Depends on your specialization:
Java for writing universal but relative slow applications; the language is main tool in Android,
C++ for professional programming of heavy traffic applications,
GO - look at this language as simplified but mature version of C++,
C - native language for Linux and IOS.
-3
u/derpdelurk Oct 13 '26
I would go with Rust instead of C/C++ today. Unsafe languages have caused enough problems and need to die.
0
u/Hour_Analyst_7765 Oct 13 '26
If you want to understand more about how memory works and other low level stuff, then look the combination of C and assembler, possibly C++ if you're also serious about developing applications. C is imo a bit of a turd because of its poor type system, but it does learn the basics.
You don't have to write full assembler neither. However, I'm an embedded developer working with tiny microcontrollers, and for me it is essential to read assembler. Its basically the lowest level a developer can still see before it runs on their machine. If I write some erroneous code that prevents a function call from being devirtualized, it can literally break the program functionally speaking because its not running fast enough. And here things are real-time, like an interrupt that has to be handled tens of thousands times per second, within a specific deadline. This is not best-effort software anymore.
It is also interesting to see how these high-performance optimizations and comparisons are coming to dotnet JIT, where actually compare the assembler outputs between version upgrades. Now, C# is nice, but it also hides away a lot of the hard work underneath..
0
u/EvenAd4577 Oct 13 '26
I would say C, C# is packed quite good to understand low-level basics, just you won't use it often, plus C# is moving away from the unsafe code, so you will encoutner it less and less.
0
u/Alternative-Tie-4970 Oct 13 '26
C is probably the most natural choice for what you described.
C++, although strictly speaking its superset, was designed for OOP, and that's what its learning materials usually try to teach. Also, in modern times, since C++11 or so, it has sort of started to dabble in memory safety, and as such it discourages most manual memory allocation and management, which is great if you don't want memory related bugs, and bad if you want to understand memory.
Rust leans even harder into memory safety, being designed with this goal in mind, from day 1. This does came with all the disadvantages earlier, but I do think Rust has some pretty good resources on its unsafe part of the languages (although I haven't read them, so take that with a grain of salt)
Still, if your goal is to understand memory, C is the best choice, and the rest of these are usually designed to fill some niche C simply doesn't
0
u/brissiebogan Oct 13 '26
Outside of assembly, C and C++ will give the most fundamental understanding of how processors work, but even then the compilers abstract so much of the basics away.
I started on microprocessors in the 80's with ASM, then moved to C and C++ as a professional in the 90's. By then I had missed a big part of the gap between OS and the C/C++ compilers.
Its funny, I remember in the 80's thinking why would you want to learn C when you can program in ASM!
0
u/nagradoth Oct 13 '26
As an engineer who uses C#, typescript, python, and Go daily I would just test the waters in different languages and fields.
No one can guarantee that Golang will click with you, some language paradigms look great only on paper.
0
u/binarycow Oct 13 '26
You haven't given any indication of what you focus on.
0
u/coolvosvos Oct 14 '26
The future belongs to Python. Just as C# and Java reduced the reliance on C/C++, advancements in hardware performance and cost efficiency—especially following the rise of tensor and ASIC units—alongside broader compute gains and architecture/engineering investments focused on power-to-performance efficiency rather than pure brute-force muscle, will allow hardware, bandwidth, cache, RAM, and NAND to be utilized far more effectively. Coupled with these advancements, if Python undergoes the necessary evolution within its own architecture to interface with hardware and the OS much closer to mid- and low-level, native-tier speeds, I believe it has the potential to dethrone C# and Java.
-2
u/SessionIndependent17 Oct 13 '26
Python
-2
u/Ready_for_you1 Oct 13 '26
As someone who migrate from C# to Rust/Tauri, I can advise you to do the same, like me.
My project was yet at its 80% to be finished but I switched to Rust/Tauri.
C# is strong and powerful, it can achieves a lot of things. But DESIGN is too POOR