Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Gi Devs
Gi Devs
12,171 Points

c# is like java

C# seems a lot like Java is there a reason for this is did they just end up similar through development?

1 Answer

Steven Parker
Steven Parker
229,644 Points

James Gosling, who created the Java programming language in 1994, and Bill Joy, a co-founder of Sun Microsystems, the originator of Java, called C# an "imitation" of Java; Gosling further said that "[C# is] sort of Java with reliability, productivity and security deleted."

Of course, C# has evolved considerably since then and is no longer exclusively proprietary to Microsoft. Also, the history of the CsharpLanguage (C#) and the MicrosoftDotNet (.NET) CommonLanguageRuntime (CLR) that it was based on should help address some of the claims that C#/.NET is a direct Java knock-off. The results may be similar, but the paths taken to get there are definitely not the same.

This, and more background information on the development of C#, can be found on the C# Wikipedia Page, as well as elsewhere around the web.