

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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.
- Related Questions & Answers
- Differences between C++ and C#
- Major differences between C# and Java
- Differences between C++ string == and compare()?
- What are the differences between C++ and Java?
- What are the differences between C and Java?
- What are the differences between C++ and Go?
- What are the differences between bitwise and logical AND operators in C/C++
- What are the differences between Thunderbolt and USB-C?
- What are the differences between struct and class in C++?
- What are the differences between constructors and destructors in C#?
- What are the differences between ref and out parameters in C#?
- What are the differences between a class and struct in C#?
- Differences between pass by value and pass by reference in C++
- Incompatibilities between C and C++
- Difference between C and C++.