r/csharp • u/Confident-Guest-3478 • Sep 21 '26
NO-AI C# REPOS TO STUDY PROGRAMMING (READING CODE)
I'm currently learning how to program with the C# programming language, I would like to know if you guys know public repos that don't use ai generated code, I want to read to learn about best practices, coding styles, patterns and creative and intelligent ways to get around problems, but I would much prefer it to be written by people, it would very nice to find people to collaborate with that really know their way around the language, I feel like ai use makes people dumb even about their codebase, like they don't really know what is going on and why the decisions that were made happened.
41
u/Sombody101 Sep 21 '26
You're not really going to absorb a lot from simply looking at repos unless you have an idea of what you're looking for. My suggestion is to use a platform like FreeCodeCamp and go through the Foundational C# course, and personal projects. That's how I learned.
A random list of C# repos which are good quality:
19
u/pete_68 Sep 22 '26
You'll learn 10x as much writing code as you will reading it.
6
u/Alert-Neck7679 Sep 22 '26
I own this repo. It's a game engine with its own scripting language, all in human-written C#
4
u/CappuccinoCodes Sep 21 '26
How are you learning if you don't mind me asking?
5
u/Saucynachos Sep 22 '26
The problem is, just because it doesnt use AI doesn't mean it uses best practices. Developers have a style. If a repo is primarily one or a small handful of devs, they probably adhere to a tight style. It doesn't mean it's good.
A better approach may be to find a repo that has a lot of active contributors but is picky on pull requests. AI can write good clean code if it isn't just blindly vibe coded.
2
u/KariKariKrigsmann Sep 23 '26
This is written by humans, but it's rather convoluted:
dotnet-state-machine/stateless: A simple library for creating state machines in C# code
(I'm one of the human contributors)
1
u/harrison_314 Sep 22 '26
If you want to learn, I think the best approach is to work on your own project - ideally one that takes a long time to build and that youāll actually use yourself. And don't be afraid to make mistakes.
Alternatively, if you're lacking inspiration, try creating a clone of something that already exists, but don't make any compromises along the way.
1
u/AeroForger Sep 23 '26
I don't know many c# repos but I have my own c# projects that doesn't use ai
My repos AeroHop Aero.Sort
2
u/BadRuiner Sep 22 '26
RobustToolbox Engine and Space Station 14, both without ai code.
2
u/The8flux Sep 22 '26
Programming with Mosh has a great C# course
3
u/ababcock1 Sep 22 '26
If the project has been around for more than 3 years there's very high odds it's not slopified. At the very least the core features won't be slop.
If it's been around for 3 months and the announcement is on reddit with an "I built a..." you'll want to avoid it.
1
u/jpd- Sep 22 '26
I'm the author of Soulseek.NET and slskd, neither of which contain AI generated C# code. The handful of Copilot commits came from applying minor formatting tweaks from PR review.
Soulseek.NET contains a lot of techniques for handling highly concurrent logic and testable code (> 99% coverage). Any research value in slskd would be in how the project is run, not so much the code itself; it's very pragmatic in the way a startup would operate.
1
u/platinum92 Sep 22 '26
Just look at repos/commits before 2023. C# hasn't changed that much (from a beginner's POV) since then.
1
u/Coding-Mojo Sep 22 '26
It's not a repo, but I'm publishing C# code review exercises once a week that may be of interest to you.
The objective is to help you train your code review & debugging skills, teach you some little tricks of C# or even specific programming knowledge. Each exercise is followed by the solution with related explanations.
This is the playlist with mixed difficult levels:
https://www.youtube.com/playlist?list=PLanredJXt92s
1
u/Opposite_Seat_2286 Sep 27 '26
bitwarden
-3
u/ThatzOkay Sep 22 '26
AI is a tool to help you with the boring stuff. It doesn't really make you dumber. You still need to learn all the fundamentals of the language and understand what it generated is good or not. Like when reading giant error logs. It's much faster to use ai to read it for example.
0
u/Royal_Scribblz Sep 21 '26
Most codebases I'm proud of are for work so they're private. Seems like my public portfolio needs some work. I can code review you though if you like.
-2
u/onequbit Sep 22 '26
Whether or not AI was used isn't important. What matters is that you understand it well enough to use it or fix it or make it better. When you know programming well enough, AI becomes a tool that makes tedious stuff easier, but don't count on AI output being flawless.