|
|
|
|
|
by ThinkBeat
1458 days ago
|
|
C# is not based C/C++,
It is based on Java. In the beginning Microsoft created its own
Java compiler and called it J++.
Then there was a lawsuit by Sun that went
on for a while. Microsoft decided to cancel J++
and instead, shortly afterwards C# 1.0
was released and the language was
extremly similar. I was using early C# 1.0 Betas and it was even
more obvious. Later editions and certainly C# 2.0 which introduced
generics took a different path than Java and
today they are different. |
|
J++ was an actual JVM implementation, c# ran on the .net runtime that was being developed at the same time for the next generation of Visual Basic. While the languages looked superficially similar, the runtime and base class library is significantly different.
After the sun lawsuit, Microsoft dropped j++ and released j#, which allowed for a weird hybrid of Java but with the .net class library running on the .net runtime. This was short lived because why use this over c#, and has been mostly forgotten to history.