Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

C#

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
221,500 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.