Difference between C++ and C#.net

Answer Posted / rupali

1..the entry point in c++ is void main() whereas in c#
everything happens in a class.
2.c++ uses: as resolution operator whereas c#uses (.)period
as resolution operator.
3.in c++ to use a library it has to be reffered
explicitly.whereas in c# there is a namespace called
mscorlib.dll which implicitly load all the libraries

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why dictionary is faster than list?

553


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

466


Give an example of a ctype.

558


Can delegates be used as callbacks?

490


What is final keyword in c#?

521






What is firstordefault c#?

536


What is the Signification of the "new " keyword in C#? example

510


What does return do in unity?

539


How do you serialize in c#?

468


How do I use the 'using' keyword with multiple objects?

504


What is streamreader/streamwriter class?

513


What is the use of xmlserializer?

473


What is binding in c#?

485


What is assembly c#?

472


Explain more on CLR

747