Difference between C++ and C#.net

Answer Posted / suryaprakash

c++:
1. C++ code usually compiles to assembly language.
2. will allow multiple inheritence. eg. allows a method to
be overriden many times in subclasses (derived classes).

C#:
1. C# by contrast compiles to Intermediate language (IL),
which has some similarities to java byte code.
2. supports inheritence, but not multiple, only 1 override
per method/function/

Is This Answer Correct ?    43 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why main method is static in c#?

496


Are structs faster than classes?

538


What is the difference between function and method in c#?

453


What is assembly and dll in c#?

464


Explain About namespaces

579






What is an interface class? Give one example of it

480


How to find out that the code is written as managed or un-managed code?

594


What is predicate builder?

477


Can You Prevent Your Class From Being Inherited By Another Class?

545


What is data set in c#?

501


What will be the output of the following code?

509


What is overloading with example?

501


List the difference between interface and abstract class?

470


Can we have multiple constructors in a class c#?

503


Can we customize the serialization process?

526