The moose likes Java in General and the fly likes Is C#  a copy of Java ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Is C#  a copy of Java ?" Watch "Is C#  a copy of Java ?" New topic
Author

Is C# a copy of Java ?

MohamedSalim malik
Greenhorn

Joined: Feb 04, 2011
Posts: 19
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

Joined: Jan 28, 2003
Posts: 1900

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.


Steve
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 11642

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
IntelliJ Java IDE
 
subject: Is C# a copy of Java ?
 
Threads others viewed
Simple question about "void"......
How to map C++ objects with Java Objects ?
Help with something Simple
Has C++ droped below Java in the workplace already?
Java (JSP/servlets) vs Cold Fusion
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com