top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How does C# differ from C++?

+2 votes
How does C# differ from C++?
posted Dec 1, 2014 by Vinitha

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

• C# doesn't support multiple inheritances while C++ does.
• We can use switch statement with string values in C# while in C++ only Character and integer values supported.
• Casting is Safer in C# than C++.
• C# doesn’t require semicolon on completion of class definition while C++ use.
• In C#, Command line parameter acts differently as compared to C++.

answer Dec 1, 2014 by Manikandan J
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.