Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Best Place To Learn C#

Discussion in 'Scripting' started by Noah492, Dec 22, 2014.

  1. Noah492

    Noah492

    Joined:
    Jul 2, 2014
    Posts:
    44
    I have no idea how to code but would like to learn. I want to learn C#. Where did you guys learn to program using C#?
     
  2. Kirk Clawson

    Kirk Clawson

    Joined:
    Nov 4, 2014
    Posts:
    65
    Youtube has several good folks who have taken the time to do tutorials on not only C# in general, but also Unity in particular. Brackeys has a C# beginners tutorial on thier channel, though it's only partially complete. I haven't searched for C# tuts in particular, but it wouldn't surprise me if there were many more.
     
  3. lordofduct

    lordofduct

    Joined:
    Oct 3, 2011
    Posts:
    8,377
    I bought a .Net book on C# and read it (2007 is when I did that).

    Then I wrote little programs, slowly increasing the scope of them as I wrote them.

    At the same time I branched out to other languages. Namely: Java, Actionscript 3 (it was popular at the time), C++, javascript, and PHP. Just learning cursory stuff, stretching my legs around languages to see what was different and what was similar. It helped me in recognizing concepts vs language syntax. "Oh, so this is the syntax to do the same thing in this other language".

    Joined forums. Forums were probably the biggest help. Thing I always noticed is that it's hard to construct your own hurdles to tackle... you can't write your own test. So instead I hung out on forums and tried to answer questions that I didn't necessarily know the answer to. Even if someone already answered the problem, I might try to come up with an alternate solution, or not even read that answer to see if I can solve it myself and compare. Of course, google being a very useful tool. I wouldn't google for answers to the problem, I'd google for concepts that would apply to the question.

    That's when I picked up freelance gigs, which focused my skills more on C#, Java, javascript, and AS3 (as they were what I got hired for most often).

    It wasn't until after that, that I started toying with Unity. Primarily because Unity wasn't a thing yet. The C# was for playing with XNA, which is kind of not a thing anymore (monogame I guess is still standing, though its 3D leaves a lot to want for).

    I further expanded out my languages from there though with my various jobs. I'm at about 26 languages to this day.
     
  4. Ian094

    Ian094

    Joined:
    Jun 20, 2013
    Posts:
    1,548
    The Learn section is a good place to start.
     
    cmcpasserby and Kiwasi like this.
  5. Dameon_

    Dameon_

    Joined:
    Apr 11, 2014
    Posts:
    542
    There's no "best" place to learn. There are a wide variety of resources that take different approaches and are for different experience levels. So go Google up some and find the best one for you.
     
  6. SubZeroGaming

    SubZeroGaming

    Joined:
    Mar 4, 2013
    Posts:
    1,008
  7. Noah492

    Noah492

    Joined:
    Jul 2, 2014
    Posts:
    44
    I am inclined to purchase your book. After I get done with it do you think I will be able to write things on my own? Also I see it is in the alpha program so how incomplete is it? I would prefer not to wait until July 1, 2015
     
  8. tanoshimi

    tanoshimi

    Joined:
    May 21, 2013
    Posts:
    297
    I would personally be inclined not to follow a book - although there's certainly a gravitas and authority about a bound, printed volume, software development is a fast-moving field, and books age very quickly (although the fundamental principles of C# programming do not change much, their application to the Unity API, which I think is what you really want to know, change a lot!). I wonder, for example, how many of Unity 5's features (which, we expect, will be the current release by July 2015) Jonathan's book will be fully covering?

    Personally, I would follow Unity's own online tutorials and download and dissect their sample projects, but everyone has different preferred learning styles.
     
    Kiwasi likes this.
  9. christinanorwood

    christinanorwood

    Joined:
    Aug 9, 2013
    Posts:
    402
    I've got some basic C# tutorials on YouTube. Not in Unity though, but I'm aiming at new Unity developers. I'm developing tutorials in a different format, but they won't be ready for a couple of months.
     
  10. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Clone a game.

    Pick a game with simple mechanics, like space invaders or flappy bird. Build it. As you come across things you don't know then look them up with google.
     
    image28 likes this.
  11. SubZeroGaming

    SubZeroGaming

    Joined:
    Mar 4, 2013
    Posts:
    1,008
    Chapters 1-7 are what's important to get you going on your own. Chapters 8-15 are being redone to fit the needs of Unity 5. As someone stated above, this field is rapidly changing and books become out dated very quickly. With the pre order, chapters 1-7 are fully ready to go and will help you. Chapters 8-15 will not be 100% up to date till febuary of this year.
     
  12. Noah492

    Noah492

    Joined:
    Jul 2, 2014
    Posts:
    44
    Awesome!
     
  13. SevenHams

    SevenHams

    Joined:
    Dec 27, 2012
    Posts:
    67
  14. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    I should probably also put in a plug for MSDN. While I don't recommend reading it from start to finish, MSDN is the definitive source for documentation on the various bits and pieces that make up the .Net frame work and the C# language. Its a great place to find details for any of the built in classes.
     
  15. sdviosx

    sdviosx

    Joined:
    Jan 4, 2015
    Posts:
    22
    From personal experience, learn by doing. Learning from a book is also acceptable but, as a beginner it can overwhelm you and at times it will feel as thought you are drinking off of a water hose. LIke a wise man once said, 5 percent of effort is spent on learning the language and the 95 percent is spent on learning the framework and documentation.
     
    Kiwasi likes this.