• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is C# a copy of Java ?  RSS feed

 
MohamedSalim malik
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey friends ,
Can anyone tell me about this Java and C# debacle . The Answer i want to know is , that whether the Microsoft create C# out of java. Is C# a copy of Java ?. I want to know about this history for a assignment. i have Google about this matter already . But i couldn't find good information . so if anyone know about this , please be kind to share the links . thank you
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MohamedSalim malik wrote:Hey friends ,
Can anyone tell me about this Java and C# debacle . The Answer i want to know is , that whether the Microsoft create C# out of java. Is C# a copy of Java ?. I want to know about this history for a assignment. i have Google about this matter already . But i couldn't find good information . so if anyone know about this , please be kind to share the links . thank you


Debacle? What debacle?

No, C# is not a copy of Java. C# is an evolution of the C-style languages, which Java is also part of. C# was developed after Java, and learned a lot. A lot of what they learned came from what IS in Java and a lot of what they learned is what is NOT in Java. Every good language (every good product really) learns from its predecessors and competitors. They find out what makes the other languages most successful, where they got it right, and especially what they do better than your previous product. Then they find out what they do wrong, what your previous language did better, what other languages do better, and sculpt it into a new language (or product) which - if done correctly - is better (at least in the aspects you try to concentrate on). In my opinion claiming C# is a copy of Java is about as accurate as saying Java is a copy of C++ or any other language which predated Java.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16058
88
Android IntelliJ IDE Java Scala Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before Microsoft invented .NET and C#, they had a product called Visual J++. This was Microsoft's own Java, which was not completely compatible with Sun's Java. Sun didn't like that, they said Microsoft was breaking the license agreement for Java by having a product that was not fully implementing standard Java, so Sun took Microsoft to court. Microsoft lost.

After that Microsoft had Visual J# for a while, but it also died. Later they invented .NET and C#.

C# took a lot of ideas that are also in Java, but C# is not purely a kind of Microsoft Java. The main inventor of C# is Anders Hejlsberg, who previously invented Turbo Pascal and Delphi.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!