Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Differences between C and C#
C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972.
C# is a simple, modern, general-purpose, object-oriented programming language developed by Microsoft within its .NET initiative led by Anders Hejlsberg.
The following are the differences between C and C#.
Language
C language is a structured programming language, whereas C# is an object-orinted language.
Memory Management
C has manual memory management, whereas memory management is handled automatically in C#.
Garbage Collection
C do not have a garbage collector whereas C# has CLR for garbage collection.
Platforms
C program can be run on different platforms whereas C# is generally used only on Windows and needs the .NET framework.
