+ 11

Why was C# developed when an object-oriented programming language like C++ already existed?

11th Jul 2019, 1:43 PM
Dejan FrancuzđŸ„‡
Dejan FrancuzđŸ„‡ - avatar
12 Answers
+ 9
it answers to the question.... why was.... ps5 introduced if consoles like ps4, Xbox already existed.... answer: betterment......
12th Jul 2019, 1:21 AM
Aditya
Aditya - avatar
+ 8
At the time of its creation C# was very close to being a Java clone... But in 20 years they both evolved in different directions, although they sometimes adopted the same features from each other. The declared goal of C# creation was to make a modern language which solves some of the known deficiencies of C++ and Java. Originally they wanted to name it Cool (C-like Object Oriented Language) but Microsoft ditched this name for trademark reason. Another reason I think, was that Microsoft wanted a powerful development tool to support their own software ecosystem, including ASP.NET and DOTNET, because Visual Basic did not really cut it, and they did not want to be dependent on another IT company for this (Sun Microsystems developed Java then later sold to Oracle). Source: mostly Wikipedia.
11th Jul 2019, 5:48 PM
Tibor Santa
Tibor Santa - avatar
+ 7
Main advantage of C# over C++ is, dynamic programming is much simpler in C#.. For more info.. https://softwareengineering.stackexchange.com/questions/125712/for-what-reasons-should-i-choose-c-over-java-and-c
11th Jul 2019, 1:49 PM
Sahil Hadke
Sahil Hadke - avatar
+ 7
Simply, Microsoft wanted to monopolise everything. It was made to compete with Java. Web and desktop development is done using a higher level language such as C#. C# is a part of the .Net which is especially targeted for web development, but it also works easily with a Windows-based program. C++ is a lot more well-rounded in terms of platforms and target applications, but the developer pool is more limited since it’s not as popular for web and mobile applications. If your project is focused on extremely low-level processing, then you may need a C++ developer.
12th Jul 2019, 8:19 AM
Micka
Micka - avatar
+ 5
As some have already said it's because Microsoft didn't want to lose out due to the emergence of Java.
12th Jul 2019, 11:13 PM
Sonic
Sonic - avatar
+ 3
Part of the dotnet suite Uses managed code Type safe and does not use direct memory access Does not use multiple class inheritance but supports multiple interface inheritance đŸ€—
12th Jul 2019, 3:22 AM
Sanjay Kamath
Sanjay Kamath - avatar
+ 3
As far as I know, C++ evolved from C Languge in response to object oriented programming. C# is for Web Development
12th Jul 2019, 3:27 AM
Da2
Da2 - avatar
+ 3
Micka it is a question related open-source vs proprietary software. Good advice!
12th Jul 2019, 8:22 AM
Da2
Da2 - avatar
+ 2
what ps5 was introduced? ?😑 comparing programming lan to gamin consoles doesn't make sense. they could update c plus plus.maybe
12th Jul 2019, 9:07 AM
mammad
mammad - avatar