Game Development Community

How to learn C# - already know C

by Andy Hawkins · in Technical Issues · 11/29/2006 (2:56 am) · 7 replies

I want to learn C# as it's the main gig in the industry right now.

Can anyone suggest some good books and DVD's to get me up to speed please?

I've been programming in C/C++ for about 10 years, wrote my own DX8 engine a few years ago, and have a solid understanding of object orientation. DirectX and MFC.

Any advice would be appreciated.

Is it a steep learning curve or just learning new interfaces and methods?

#1
11/29/2006 (3:36 am)
Just skim the docs that come with VC# and dive right in.

If you have been programming for that long, then you would have to be really bad at it to not pickup C# inside of an hour.

T.
#2
11/29/2006 (10:46 am)
I read the wikipedia article on C# and then all the discussion - that seemed to have covered most differences between C++/Java and C#.
#3
11/29/2006 (12:10 pm)
The C# Step by Step book is a nice way to start from scratch. It would annoy veteran programmers transitioning, though. The video tutorials on the express site are very well done, though.
#4
11/29/2006 (1:11 pm)
What TomB said... just do it. ;)
#5
11/29/2006 (2:41 pm)
@All - thanks for the advice.

I've grabbed C# Express and started using the tutorials and instructions at the MS site. I did notice the GG news item for Torque X there as well ... heh heh.

Seems very sweet - I also bought these two books to help me along, but it looks like Visual Studio help, online resources at MS and trawling for the odd tut on the net is going to do the job.

Microsoft ASP.NET Programming with Microsoft Visual C# .NET Version 2003 Step By Step, G. Andrew Duthie

Microsoft Visual C# .NET Deluxe Learning Edition-Version 2003, MS Press
#6
11/29/2006 (5:06 pm)
Just don't bury yourself into the books. Set a small goal... like getting a triangle rendering with XNA and go after it. Use the docs and your books for reference and you'll learn it in no time.
#7
11/29/2006 (10:22 pm)
@Tom - thanks. I'm not really learning C# for games dev, though I will focus my attention there later. I'm learning for my "real" job - the one that pays for all my indie game dev stuff ;-) I'm a C++ coder, and the way the industry is right now, I'm a dinosaur, which is why I have to skill up to C#.