DEV Community

Rodrigo
Rodrigo

Posted on • Updated on

Is learning Unity 3D a good alternative to learning C#?

For a while I was thinking about learning either C# or Java for backend, right now I'm working as a react developer and I know node and typeScript.

So my question is, if learning the basics of C# with a Unity 3d course, will help me learn enough to keep learning by myself backend in the future, or should I just take a c# course where they focus in making a rest api

Top comments (1)

Collapse
 
vaso profile image
Vaclav Elias

At the time of writing my comment, I wouldn't use Unity 3D for learning the basics of C# if you want to take your C# skills to the enterprise level. The main reason is that at the moment (in 2022) Unity 3D won't teach you the best C# practises and patterns.

If you want to learn C# just for fun then you can use Unity 3D because you will learn also about game development.

However, I would recommend proper C# courses which are at this time very good in many sources free and paid. Free e.g. dotnet.microsoft.com/en-us/learn/c... or others. I personally used a paid one from Coding with Mosh (codewithmosh.com/p/the-ultimate-cs...).

I am now playing with Stride 3D stride3d.net (an alternative to Unity 3D) which allows me to utilise C# skills much better than Unity 3D. Including it supports .NET 6 and C# 10 (not yet published).

While you are learning C# through proper courses, including REST API (which you would use in enterprise) you can also play (apply what you learnt) with Unity 3D / Stride or other C# game engines in parallel, so you can broaden your learning skills and maybe find a passion also in game development / 3D visualisation 😁.