Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is difference between C and C#?
Posted
Updated 20-Jul-10 18:41pm
v2
Comments
Sandeep Mewara 21-Jul-10 1:36am    
Reason for my vote of 1
No effort made!

It'd be easier to compare what's the same. Here's the list:

1) The general style.

All done.
 
Share this answer
 
Just about everything.

The list of similarities is far, far smaller than the list of differences. Even when they are similar, generally, it is an illusion.

Remember, C begat C++, which begat C# (via a lot of brothers, cousins, and little ones with webbed fingers.

It would take a major essay to list the differences! I suggest you Google for just that.
 
Share this answer
 
Come on... you don't know how to use google?
 
Share this answer
 
v2
C and C# are two different worlds: they just share some keywords and constructs.

A big difference is that the C programming language is not object oriented while the C# is.

The C++ programming language was initially born as an extension of the C to support the object oriented programming; the C# is too near to C++ than how it is to C (however C++ and C# are very different in many aspects).

To get an idea of what the defferences are, you can read the articles below, from Wikipedia:

C (programming language)[^]
Object-oriented programming[^]
C++ (programming language)[^]
C# (programming language)[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900