What's the difference between C# OVER C++?

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.

All help is greatly appreciated :)
Last edited on
Take a look at this http://www.thinkingparallel.com/2007/03/06/c-vs-c-a-checklist-from-a-c-programmers-point-of-view/. There are of course other differences, the main two I'll emphasize is C++ has better performance and is cross platform.

Soap360 wrote:
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.
Topic archived. No new replies allowed.