.NET architect job at Bangalore
Diffrence between C# and C++
Posted Date: 22-Mar-2012
C and C++ have been widely used for the past few years for development scientific and business applications. C and C++ languages has disadvantages like high complexity, long cycle time. C# was developed for make web development easy. C# was developed by Microsoft to mainly Support the feature provided by .Net framework. Find difference between Diffrence between C# and C++
Difference between C# and C++
1.Classes in C# are defined and implemented at the same place and so there is no need for using header files like as c++.
2. C# does not use header files as it compiles directly from the source code to the executable code.
3.C# does not use semicolon and the end of class definition.
4.C# does not support pointers for manipulating data. However they are used in codes declared as unsafe.
6.Abstract methods of C# cannot be implemented.
7.C# does not support multiple inheritance.
Behavior of the command line argument is different in C# as compared to C++.
8. Declaration of array is different in c# as compared to C++.Arrays in C# are of reference type while C++ arrays are value type.
9.C# does not support the header file,#include.
10.C# does not support default arguments.
11. C# allows the switch statement to be used with string values.
12. C# supports native Boolean type and Boolean type data can be implicitly or explicitly cast any data type except object
Did you like this resource? Share it with your friends and show your love!
Responses to "Diffrence between C# and C++"
No responses found. Be the first to respond...
Notify me by email when others post comments to this article.
Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
No HTML formatting and links to other web sites are allowed.
This is a strictly moderated site. Absolutely no spam allowed.
to fill automatically.
(Will not be published, but
to validate comment)
Type the numbers and letters shown on the left.
Anil Kumar ...
Last 7 Days
Awards & Gifts
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India