Here you will learn and understand the difference between c# and c language (c vs c#)
S.N | C#.NET | C |
1. | C# is a pure object oriented language | C is a pure structure or function oriented language |
2. | It follows Bottom up approach(Solving sub modules first (bottom level) and integrate them as whole and complete the solution) | It follows Top down approach(Dividing a problem into set of modules) Solving main module first (top level) and then solve sub module separately and complete the solution) |
3. | C# supports both compiler and interpreter (two way language) | C supports only compiler (one way language) |
4. | C# is High Level Language | C is a Middle Level Language. Because it supports the features of both low level (Ex. assembly language) language and high level languages |
5. | C# is derived from C++ , java & VB. C++ gives the oops concept. Java gives structure to C#.VB gives Form design | C is derived from B and BCPL (Basic Combined & Programming Language) |
6. | C# gives indirect support for pointers | C gives direct support for pointers |
7. | C# is mainly used for Windows, Web and Mobile applications | C is mainly used for system programming. It is poor in Windows, Web and Mobile applications |
8. | File Name Extension: .cs | File Name Extension: .c |
9. | IDEs: Visual Studio 2022 / 19 / 17 / 13 / 10, etc, … | IDEs: Code Blocks etc, VSC… Others: Eclipse CDT, NetBeans, DevCPP, CFree |
More Tutorials