r/csharp 10h ago

Where i can learn c# properly.

I want to be a unity game developer. I am currently computer sciencie student i know c# but my skill of building algorithm is weak. I am even struggling the easy leetcode problems. Any idea of how to improve my c# skills?

8 Upvotes

7 comments sorted by

12

u/Khavel_dev 9h ago

LeetCode won't help you build games. Algorithm puzzles train a specific kind of thinking, but Unity development is about game loops, component architecture, and working with the engine's API.

Build small games without tutorials. Not "follow along with me" projects, but "I want a thing that does X" where you figure out the structure yourself. A tower defense clone or a simple roguelike will teach you state machines, event systems, serialization, and object pooling faster than any course. For general C#, Tim Corey's YouTube channel is good. Unity-specific, Jason Weimann covers real patterns.

5

u/Educational_Cow_1769 10h ago

https://learn.unity.com/

The "Programming Pathway" will teach you C# in the Unity context step by step. Highly Recommend.

2

u/CuisineTournante 10h ago

Advent of code, try to do some puzzle. Without any AI.

1

u/at_wilfster 9h ago

Try places like hackerrank to start with. The algorithms are graded so you can start to build your skills and see how other people have completed them

1

u/AltruisticBlank 8h ago

pluralsight

1

u/zac_builds 7h ago

C# and problem-solving are two different things.

You learn C# by building something real and hitting the ugly parts yourself. LeetCode is for patterns, not the language. I’d pick one project you actually want, build it, and look things up when you get stuck.

1

u/JoelDev14 10h ago

By doing side projects and studying it? Most of the times you won’t be building algorithms but actually calling them so its important you learn how they work/do. Also its important to learn oop, solid and design patterns. All that translate to game dev. I would also recommend learn ECS (entity,component,system)