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 assembly qualified name
Why we use anonymous methods in c#?
Are there functions in c#?
what is the difference between the debug class and trace class?
When should I use static in C#?
We cannot create instances of static classes. Can we have constructors for static classes?
What is callback method in c#?
Why do I get a syntax error when trying to declare a variable called checked?
What is type checking in c#?
What is the implicit name and type of the parameter that gets passed into the class set method?
Why array is faster than arraylist in c#?
What does return do in unity?
What is a dictionary in c#?
What are the Types of compatabilities and explain them
Differentiate between static class and singleton instance?