C# Where To Start?

Ok so I programmed my first game in Javascript but I’ve heard that C# is the language to go with. So I really don’t know where to start, couldn’t really find any tutorials on C# programming in unity. If anyone has any advice or links to tutorials I’d be very grateful. Thanks.

I think you should make as much headway as you can with whatever language suites you first. The mental skills acquired by learning smarter coding techniques will make you able to grasp another language more easily. If you had a specific goal in mind, like to be hired by a particular company, try and find out if they would only accept a programmer who is affluent in C# or any other language for that matter.

as the unity api is the same for us and c# you are not bound to unity c# tutorials. look at all c# tutorials to get an impression of how it works and for unity specific stuff apply your api knowledge you already gained with us.

search for hack + slash rpg tutorial on burgzergarcade it is in c# but site seems currently down.

Do you always make important decisions based on such convincing evidence?

Anyway, if you already can code in UnityScript, barring the very few things you can do in C# that you can’t in js, C# is pretty much the same with slightly different syntax. If you really want to switch, just start doing it. If you know how to do an operation in JavaScript, just look it up in the script reference to see how to do it in C#.

Don’t think I’d really call it an important decision. I just remember hearing quite a bit that to do the more advanced stuff C# was the better to learn, I’m not doing the advanced stuff now but figured that it would be good to lay the ground work for when I get to that kind of stuff. Either way thanks everyone for the suggestions.

Well, do some reading on C# basics, to get used to the syntax, or stuff like “pass by reference vs pass by value”, polymorphism, interfaces etc. This should just take a few days, even less depending on the amount of time you invest.

This should get you ready for the easy basic C# programming. The advanced stuff (lambda, delegates, events, linq expressions) you’ll learn later.

I heard this book was alright too Head First into C#

I started learning C# from 3DBuzz.com. They make it so easy to try and undeerstand and it’s all video tutorials, which I find very easy to learn from.

It is a pretty good book, however, extremely bloated. At times the author will introduce new concepts in the most convoluted ways rather than making it a bit easier to understand by keeping it “simple stupid” then moving to using that new concept in a larger application. I dove through about 300 pages before shutting the book and my first 60 pages of C# YellowBook - I learned more due to extremely simple introductions to concepts. I let my mind then create complicated structures for these new concepts on their own - rather than being forced into it with Head First. My mind then snapped back to what was giving me troubles with Head First and I understood them completely after a quick read of YellowBook.

That says a lot for how poorly the author presented concepts in Head First. My case might not be the same with everyone, tho, I have heard great reviews about the book - everyone learns differently, I guess.

OP: C# YellowBook is free and a very quick read. I recommend it.