PDA

View Full Version : What's the difference between C# and C++?



CreganTur
11-10-2008, 08:26 AM
I had a conversation over the weekend with someone who's about to graduate with their degree in CS. She said that I should really look into learning C; that it's an in demand language a lot of colleges are avoiding in their curriculum, so there's a demand. I'm not sure of the validity of her statements, but I had been previously thinking about looking into C.

My question is that I have no idea what the difference between C# and C++ is.

Norie
11-10-2008, 01:42 PM
Randy

They are all part of the same family I think, just different 'flavours'.

C was first, then came C++, then came C#.

I've not really got time to explain the differences, even if I could, but you'll find plenty of information if you search the internet. :)

Bob Phillips
11-10-2008, 02:44 PM
C# is loosely based on C/C++ but is more like Java in its implementation IMO.

The big difference is that whilst C++ pre-dates .Net, and can be a good way of avoiding/bypassing .Net, C# is intrinsically part of .Net, it doesn't exist outside of .Net, and requires .Net for its existence. AFAIAA, no-one other than MS has implemented C#.

Anyway, F# (http://research.microsoft.com/fsharp/fsharp.aspx) is the new kid on the block