I need GOOD free online tutorials/ebooks on C#

All right, I asked the same question here about 3 months ago. I was given a few links for pretty good C# material, one I actually went thru about 50% of it. However, in all of them I’d hit a wall where the author wasn’t clear enough or didn’t provide examples clear enough. Then you’re left trying to figure out the code by yourself, which doesn’t always work…

So yeah, if anyone around here learned C# with free online material only, it would be immensely appreciated if you could share. At least, trying these tutorials made me familiar with Visual C# Express

P.S. Maybe I’m wrong on that but is it just me or do we do not have to learn absolutely everything on C# to work with Unity? What are the core components needed for Unity?

Thanks and best regards,
Charles

Well, I did, but it’s been over the last decade so I really couldn’t point out any particularly good specific resources from memory. Primarily, I simply searched for tutorials/articles/samples on a per-topic basis, and selected those that used C# as the source language.

You certainly don’t need to know absolutely everything, but it’s hard to quantify just exactly what you do need. You need a pretty good understanding of the language, same as you would for any other language (syntax, flow control, etc).

Additionally, there are some good things to know about .NET/Mono itself, such as how garbage collection works, and how to avoid the need for it as much as possible (the periodic garbage collection cycle can cause noticeable delays). That’s really more about general game dev with managed languages than C# specific, though.

If you are goal-oriented in your learning, everything you need to know you’ll likely just pick up along the way.

Sorry I couldn’t be more helpful or specific.

Although not comprehensive, this free tutorial helped me with certain basic concepts:

A simple 2D game tutorial for those who want to script in C# can be located here:

http://www.3dbuzz.com/vbforum/showthread.php?181409-Over-7-hours-of-Unity-Training-Videos-Download-them-now

http://www.robmiles.com/c-yellow-book/

Please visit my site. It contains complete coverage of the basics of C# programming language. Follow the link below. Thanks.

C# Tutorials and Lessons

here is another link may be it helps you.

Check out my signature

You’re always going to hit a wall when self teaching from a book.

Come to a forum like this and ask a specific question in regards to that lesson. Get unblocked.

You will get suggestions for new material that other people learned from. That doesn’t necessarily make it better… because it may have worked for them because it was catered to their learning style. We don’t know your learning style. You could easily run into the same wall 50% into the new book suggested to you.

I suggest you revisit the text you got 50% through, and try to get unstuck.

Ask us, we may be able to help.

Of course you don’t have to learn absolutely everything about C# to work with unity. Actually, unity doesn’t allow you to use all the features of the latest versions of C#.

You should get the general syntax of the language down.

Know what class, struct, enum, delegate, interface, etc are all used for.

Difference between fields/properties/methods.

Access modifiers (public, private, protected) are important.

Serialization will definitely come up.

Namespaces

Events

Generics (the stuff)

Arrays and Lists

Dictionary, HashSet, and other collections

And the general limitations put on you in Unity (generics aren’t serializable, reflection.emit isn’t available on ios, garbage collection is weak sauce in unity)

and that should get you rolling.

Thread is 5 years old and OP hasn’t visited in 3 years - I think it’s safe to say they either gave up or became such an expert as to not need the resources on this forum anymore :slight_smile:

1 Like

completely over-looked that, just saw the last couple posts