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

what is main function of alternate teamplate of datalist?

1919


Do we get an error while executing the “finally” block in c#?

707


Why should I use interface in c#?

708


Suppose two interfaces have same method, so how will you implement these methods in derive class?

679


How Global.asax is used ?

815


Why to use lock statement in c#?

677


What is the difference between package and interface?

685


What is function and method in c#?

706


What does mean before a string in c#?

697


Explain About stateless and state full web service

745


Explain how many types of exception handlers are there in .net?

686


Explain the difference between arraylist and array and in c#?

690


List some Advantages of switch-case over if else?

673


In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

2050


Are multiple data types stored in System.Array?

863