Solved

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

Posted on 2006-11-08
4
284 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
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now