Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

Can somebody explain me the difference between C and C# in detail?

Can somebody explain me the difference between C and C# in detail.I am confused with the words.
0
tatikor_143
Asked:
tatikor_143
1 Solution
 
grg99Commented:
go to wikipedia and look them up.  The differences are too huge to fit into this little box.

0
 
tatikor_143Author Commented:
explain me the basic diferences in few sentences.
0
 
jkrCommented:
The biggest and most notable differences are

C#: object oriented ./. C: not object oriented
C#: interpreted meta-language ./. C: compiled and linked into directly executable code
0
 
MysidiaCommented:
C# has some different datatypes, the syntax for declaring types such as an array is different.

C# has classes, C does not

C# has many other language structures and flow control keywords and syntax, such as ''foreach' that C lacks

C has a preprocessor, supporting conditional compilation and macros, C# does not

C# is made by MS primarily for the .NET framework, C is not, and is a much older/more mature language.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now