r/learnprogramming • • 19d ago

How to learn programming in C#? (in 2026)

Hello, I’ve been trying to program in C# for about 3 years, and so far I haven’t done that great of a job. My best projects that use no AI are Rock Paper Scissors and Tic-Tac-Toe, but Tic-Tac-Toe is only 98% done, because there were 2 lines for the draw condition that I wasn’t able to figure out for 6 days straight, so I gave up and gave it to AI.

Another thing I tried is Exercism. After about 2 weeks of success with no AI, I got overwhelmed, and I also started using AI for things I hadn’t used it for before. The last program I did was Bob, which was basically a character that required some specific inputs.

Anyway, I came here to ask for advice on what to do, because I feel like I want to drop programming just because I feel I don’t improve at all. On the other hand, I’ve always wished to learn programming and make some fun projects, but the way to get there is very thorny and I’m kind of desperate, ngl.

Is there some kind of roadmap that says which projects are ideal for which type of programming experience, for people at a similar level to me? (Also, I only have 20 minutes a day for it.)

8 Upvotes

11 comments sorted by

8

u/aqua_regis 19d ago

Nothing we can give you will cure your urge to resort to AI.

The learning resources are not the problem. Your resorting to AI when things get rough, however, is.

You are not improving because you give in and hand things over to AI when things get rough.

If you get stuck on Tic-Tac-Toe, you are in no way supposed to use AI. You first need to build your skills, but seemingly, you are not prepared to invest the necessary effort to overcome obstacles along the way.

If after 3 years you can't do Tic-Tac-Toe, programming seems to not be for you. Really.

3

u/ehr1c 19d ago

Stop using AI. There's your advice.

2

u/Available_Safe1818 18d ago

> Also, I only have 20 minutes a day for it

Good luck with that!

1

u/AntiCitizen6 19d ago

One book I really enjoyed and helped me with my C# projects is called The C# Players Guide.

You learn the basics through making a text based RPG and the author goes into deeper detail than my school textbook. I think the book costs around $35.

1

u/Double-Squirrel6307 19d ago

Use the C# Players Guide. It builds a text RPG and explains the logic step by step without overwhelming you, which fits your 20 minute limit better than abstract exercises

1

u/Substantial_Job_2068 19d ago

You learn by reading and doing exercises for whatever thing you are trying to do. How is it that you can use AI to write the code but you can't use AI to find good learning resources? Sounds like you just don't want to put in the time, like actually opening a book or just reading some online resource on how C# works.

1

u/NadiaReadsChunks 18d ago

Giving up after 6 days on 2 lines is the real issue, not the language. Stuck for 20 minutes a day means you need smaller problems, like write one function that checks if a list has duplicates. Does that feel doable?

1

u/Electronic-Equal-616 17d ago

tbh if you only have 20 minutes a day, being stuck for 6 days is really just 2 hours of actual debugging time, which is completely normal. half of that 20 mins probably just goes into opening the ide and remembering where you left off 😭. maybe try saving that time for one or two longer sessions on the weekend instead? it gives you way more room to actually get into the flow without feeling rushed into asking ai.

0

u/Flimsy-Importance313 19d ago

Can you show us your projects and tell us how much you used LLM? Because the method is much more important than the content.

0

u/Shukakun 18d ago

There's nothing wrong with using AI, just have to keep yourself in check and make sure that you're actually learning. Treat it as a teacher that has endless patience for your questions regardless of how trivial they may be, and keep in mind that it can sometimes be wrong, which makes it all the more important that you actually learn, not just imitate. Never ever let it directly modify your code, just talk to it until you understand how to modify it on your own.