Difference between C programming & C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Difference between C programming & C#

4th Mar 2017, 8:48 AM
mohammed qizar
mohammed qizar - avatar
5 Answers
+ 2
Key Differences C programming language is more suitable for system programming apps, hardware apps, embedded device and chip designing. While C# is suitable for apps development and web apps development. Both C and C# deals in four basic data type like int, float, double and char. C# has one addition data type feature Booleans, which is used to shows the output of logical operations. Total 32 keywords are used in C programming language while in C# total 87 keywords are used. C# has more integral type as compare to C. There is only one type of integral in C, which are two in C#, char type and whole number which can be signed or unsigned. C is a structure oriented programming language while C# is an object oriented language. Top down approach program structure is followed by C while bottom up approach program structure is adopted by C#.
4th Mar 2017, 9:05 AM
Mohsen Mahdavi
Mohsen Mahdavi - avatar
0
Hello mohammed qizar, C++ was designed to allow developers to use all of the existing features of C but provides a number of extensions to support object-oriented programming techniques in an intermediate-level programming language. C# is a complete outlier in this list. Despite it's name, it has far more in common with Java than C or C++.
4th Mar 2017, 8:54 AM
Mohsen Mahdavi
Mohsen Mahdavi - avatar
0
it means there is diff
4th Mar 2017, 8:56 AM
mohammed qizar
mohammed qizar - avatar
0
sir ,my question is not for C++ , m asking that C and c# are same or not
4th Mar 2017, 8:59 AM
mohammed qizar
mohammed qizar - avatar
0
thank you sir
4th Mar 2017, 9:09 AM
mohammed qizar
mohammed qizar - avatar