I've been writing programs from quite a while now, just recently I began learning game programming with a few buddies. I'm looking forward to start XNA, which uses C#, instead of SDL, which uses C++. So I bought myself a C# book... and everythings the same as C++? I've been reading through 1/4 and skimming through 2/4.. and most of the concepts appear to be the same. Like, I know there's console.writeline() over cout<< and all that but the OOP concepts are almost identical.
So my question is, what concepts should I learn in C#. Should I even go through the book if I'm good with C++? Sorry for rambling, the point Im trying to get across is, what does C# have that C++ doesn't that is vital in object oriented programming.
I'm looking forward to start XNA, which uses C#, instead of SDL, which uses C++.
SDL is written in C and there are several other graphics libraries you can use.
Soap360 wrote:
So my question is, what concepts should I learn in C#.
Once someone has a strong Computer Science foundation, learning new languages is as simple as picking up on the variances in syntax assuming the person understands the programming paradigm. You'll find that if you understand good OOP and at least one OOP language you can quickly pick up the others such as C++, C# and Java. If you truly know C++ well enough, I don't think it's necessary to read through and entire C# book. Start writing programs and see what doesn't makes sense.