How does C# differ from C++?

This topic contains 0 replies, has 1 voice, and was last updated by  admin November 30, 2016 at 9:16 am.

  • Creator
  • #4965


    c# is a high level language that is component oriented while as c++ is a low level and indeed platform neutral programming language.
    The access modifiers in C# are public,private,protected,internal and protected internal while as in c++ access modifiers are only private,public and protected only.
    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++.

You must be logged in to reply to this topic.