Difference between C++ and C#.net

Answer Posted / basveshwar

C++ uses the "include" header files where as c# uses the
namespaces,
C++ runs for assmebly languages
where as c# runs in .net framework,
Pointers can be used anywhere in c++
but in c# pointers are used only in unsafe mode.
C++ does not support the multiple inheritance,c# support
mulutiple inheritance.

Is This Answer Correct ?    12 Yes 41 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define clr in .net?

567


What is meant by unicode characters?

569


Where’s global assembly cache located on the system?

530


What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?

607


What is .dbml file?

481






What are the 2 broad classifications of data types available in c#?

469


What namespace is list in c#?

491


Contrast between an interface and abstract class?

543


What is int16?

513


What is a virtual property. Give an example?

520


To whom a method is accesssed if it is marked as protected internal ?

614


If you donot specify an access modifier for a method, what is the default access modifier?

545


How big is an int16?

494


What is dbcontext c#?

486


Explain the difference between a struct and a class?

508