+ 4

I'm confused about C#.

I'm in first year of college and I'm not sure about in which field of computer science I'm really interested in.For now I'm using cpp to learn dsa .I heard about C# that it is used heavily in game development. How can I become a game developer in c# if I decided to learn it wholeheartedly??

10th Jun 2024, 6:07 AM
Ayush Sinha
Ayush Sinha - avatar
9 Answers
+ 7
You can use the principles of programming for any language, things like recursion don't change logically, only the way you program them in a language. When you have time, you could begin the C# course/s here. Then look up game engines which use C# and their guides. https://www.sololearn.com/discuss/708938/?ref=app https://www.sololearn.com/discuss/620013/?ref=app https://www.sololearn.com/discuss/488976/?ref=app https://www.sololearn.com/discuss/2109607/?ref=app https://www.sololearn.com/discuss/708962/?ref=app https://www.sololearn.com/discuss/625747/?ref=app https://www.sololearn.com/discuss/99903/?ref=app
10th Jun 2024, 7:18 AM
Ausgrindtube
Ausgrindtube - avatar
+ 5
if I recall correctly, I wrote my first c# code at the university in 2020/2021. we didn't have any other choice for high-level programming language. the 1st semester wasn't too hard, but neither too easy (because of the new language), next semester: oop c# with properties, interfaces (dll), wcf + mysql; next semester all previous + threads, + stream communication, + soap + rest + proto, .... and "finally" we created app with: back-end: php api with mysql, front-end: wcf + restsharp. so: c# is "more" human-friendly, easier to write and to read; the visual studio community is user-friendly and helps a lot. game development with c#: I didn't try it, but others said: unity and unreal engine. if you go through the previous steps, it will be easy to build your first game PS.: I'm a Linux "user"
10th Jun 2024, 10:47 AM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 3
Z šŸ’¤ thank you much :)
10th Jun 2024, 10:02 AM
Ayush Sinha
Ayush Sinha - avatar
11th Jun 2024, 8:07 AM
RšŸšŸ‡®šŸ‡³
RšŸšŸ‡®šŸ‡³ - avatar
+ 3
If you want to create 2d and 3d games, i consider learning unity. Unity is a free game engine and you need to code your games in c# there. Go to learn.unity.com to learn unity and the code api of unity. There are allot of learning sources. I recommend beginning with one of the unity pathway courses that will take you from beginner to job ready. Yours, Nikolai Zappa.
11th Jun 2024, 6:49 PM
Nikolai Zappa
Nikolai Zappa - avatar
+ 3
both CPP and CS used for game development. There are ready engines like unreal and unity to make your life easier. Only some huge companies creating games from scratch to have full control of the game and to avoid pay a cut to those engines owners. Both game engines are very well designed to be easy and efficient to use, but no matter what, CPP is more efficient than CS so in average games created with unreal which using CPP running with less CPU load than unity engine which use CS. If you think both engines are suitable for you and the libraries and services you wanna use are available for both, i suggest you to use CPP so the game can run on even more PCs smoothly
11th Jun 2024, 8:56 PM
john ds
john ds - avatar
+ 2
Ausgrindtube thanks a lot
10th Jun 2024, 7:42 AM
Ayush Sinha
Ayush Sinha - avatar
+ 2
Mihaly Nyilas thanks for the advice :)
10th Jun 2024, 1:31 PM
Ayush Sinha
Ayush Sinha - avatar
0
Ausgrindtube can you give me similar resources for c++ ? It would be really helpful
10th Jun 2024, 7:43 AM
Ayush Sinha
Ayush Sinha - avatar