How does C# differ from C++?

  • Creator
    Topic
  • #4965
    admin
    Keymaster

    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.