What would you like to do?

What is the difference between C and C Sharp?

already exists.

Would you like to merge this question into it?

already exists as an alternate of this question.

Would you like to make it the primary and merge this question into it?

exists and is an alternate of .

#1) C is unmanaged code, and C# is managed by the .NET CLR (Common Language Runtime)

Managed code means that many of the low-level activities that one has to worry about with C, such as memory management, garbage collection, pointers, etc, are automatically handled for you.

#2) C# is an object orienated language. C is a structed language. However, if you were referring to C++, then both C# and C++ have similar (although not identical) object orienated capabilities.

 C is a procedural programming language developed in AT&T-Bell labs. It has been in use for about four decades for system and application programming. It has been ported to lots of CPUs and operating systems.
C-sharp (C#) is an object oriented programming language developed by Microsoft for use in its .NET framework. It is much newer, and only works on Microsoft operating systems. C#, like many other programming languages, is a descendant of C - they share some syntactic conventions.
6 people found this useful
Thanks for the feedback!

What are the differences between VB.NET and C Sharp?

VB.Net identifiers are not case sensitive, C# identifiers are. VB.Net variable declarations have the data type after the variable, C# variable declarations have the data type

Difference between data set and data reader in c sharp net?

  DataReader ____________________________________________________________________ DataReader provides forward-only, read-only access to result set. Performance is be

What is the difference between destructors in c plus plus and c sharp?

In C# only class instances can have a destructor, whereas both class and struct instances can have a destructor in C++. While syntactically similar, a C++ destructor executes

What is the difference between c plus plus and c sharp?

C# is completely object-oriented whereas C++ allows the concept of primitive variables which are not object-oriented. Moreover, C# only works on Microsoft .NET platforms, wher

Difference between vb net and c sharp?

Both languages use the same .NET Framework, so the functionality available to you is very similar. They are both OOP languages. The differences are mostly syntactical. VB tend

What is the difference between abstarct class and virctulfunction in C sharp?

They are not comparable, but may have some relationship between them. An abstract class is a class, while a virtual function (or method) is a method. A method must exist withi

What is the difference between array in c and c sharp language?

The syntax to access a particular element in an array are the same in both languages: For example: assume array is an array of 10 int(egers): to get the first element: array[0

How anchoring is different from docking in c sharp?

Both properties specify what to do with the position of a control when a form being re-sized. Anchor property allows you to specify the position of the control within the Fo