top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How does C# differ from C++?

+2 votes
233 views
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
...