Solved

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

Posted on 2006-11-08
4
288 Views
Last Modified: 2010-04-15
Can somebody explain me the difference between C and C# in detail.I am confused with the words.
0
Comment
Question by:tatikor_143
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 22

Expert Comment

by:grg99
ID: 17903112
go to wikipedia and look them up.  The differences are too huge to fit into this little box.

0
 

Author Comment

by:tatikor_143
ID: 17903151
explain me the basic diferences in few sentences.
0
 
LVL 86

Expert Comment

by:jkr
ID: 17903517
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
 
LVL 23

Accepted Solution

by:
Mysidia earned 500 total points
ID: 17905819
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question