Differences between C++ & C#

I was going to take a class on C# soon, once I can. However, I want to know: is it at all similar to C++?
well
its the language made from microsoft
if you ask me which one is better i would say c++
but C# is easier to learn
in short:
the main difference between C++ and C# is that C# has more approach with High Level programming by using features like Garbage Collector and special Classes for working easily with WEB, for example. C++ lets the programmer do all the job, but is more powerful and speedy.
C# for Windows (it is possible for other platforms but not really a good idea)
C++ for all platforms
i would say its not simular to C++ (most stuff is taken from delphi and java
...
Last edited on
Actually, C# is compiled to an intermediate language (MSIL, or MIL like I like to call it. This kind of intermediate language is generally known as bytecode. It looks a bit like Assembly), which is run by a Just In Time compiler, making any compiled C# program multi-platform (ideally, anyway).
In short, C# is what MS did when thy thought "hey, how about me make our own Java?"
Another thing. Don't bother thinking "should I learn C# or VB.NET (or something else)?" I used both. The real language is .NET. VB.NET and all the others are just C# with a mangled syntax.
I would dis-regard Kimochi's entire post. It's all wrong.

C# is pretty much a forced-OO implementation of C++ (although really it's a rip of Java). They are very similar in syntax. I see nothing wrong with learning C# as I use it professionally as well as C++.
Topic archived. No new replies allowed.