Difference between C++ and C#.net
Answer Posted / sharmin jose
Navin, what you told is not correct. C++ is platform
dependent where as C# not. MSIL code will run in any
platform if CLR is running.
For e.g., if a CLR is developed for Linux(I think its
there), the code which got compiled in Windows can be run
there.
But for C++, the .exe file created is very much dependent
on the machine. For e.g., the Windows C++ .exe file can
never be run in Linux.
| Is This Answer Correct ? | 35 Yes | 10 No |
Post New Answer View All Answers
What is an inheritance in c#?
What are the variables in c#?
Is string a data type in c#?
What are virtual destructors?
How long does it take to learn c# programming?
What is cookies in c# asp net?
What is jagged array in c#?
Explain what is an interface in c#?
What are PE(Portable Executable)?
What is the use of parse in c#?
What is desktop example?
What exception can an overridden method throw in comparison with the method it is overriding?
Explain partial class in c#?
What is function and method in c#?
What is the difference between array and list in c#?