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

I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?

572


What is visual c# net?

494


Tell me the difference between call by value and call by reference.

538


What is a float?

496


What are satellite assemblies?

559






What is marshalling in c#?

484


Is string nullable in c#?

455


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

553


What is c# in asp net?

489


What is int16?

513


What is the difference between internal and protected in c#?

437


Explain jagged arrays in c#?

576


List some Advantages of switch-case over if else?

497


Is static class thread safe in c#?

470


What is arraylist c#?

466