Post #1 The Language of C#
Brief Description: C# is an object oriented programming language. It was created with the .Net framework in mind. It is used for general application development including desktop and web applications. Using the newer dotnet core libraries, it can run on any operating system.
Resources: C# has many resources. There are many books and websites dedicated to it. It was made by Microsoft. I am using Visual Studio Code as an environment. I am specifically using a book called "MICROSOFT VISUAL C# .NET" written by Mickey Williams.
Language Background: C# is a object oriented programming language created by Microsoft. In 1999, Anders Hejlsberg formed a team to create C# which was originally named Cool(C-like Object Oriented Language). Microsoft considered keeping the name but decided not to. It was renamed C#. James Gosling, who created Java, and other people said C# was an imitation of Java. Some said the languages were virtually identical. Hejlsberg said himself that C# is not a clone of Java but is similar to C++ in it's design. C# and Java since 2005 have taken divergent paths becoming 2 very different languages. C# used to have a mascot called Andy(named for Anders Hejlsberg) but it was retired in 2004. The name C# was used first by Microsoft in 1988 for a variant of the C language designed for incremental compilation. The project was never completed but the name C# is still known today.
Inventor: Anders Hejlsberg was born December 2 1960 in Copenhagen, Denmark. He studied Electrical Engineering at the Technical University of Denmark. In 1980, He began writing programs for the Nascom Microcomputer including a Pascal Compiler which eventually became Turbo Pascal. He worked for a company called PolyData until the company came under stress and he moved to California to become chief engineer at Borland in 1989. He developed Turbo Pascal further while working for them. He became chief architect for the team that produced Delphi which replaced Turbo Pascal. In 1996, he left Borland and joined Microsoft. One of his first achievements was the J++ programming language. He became a distinguished Microsoft engineer. Since 2000, He has been the chief architect of the team developing the C# programming language. In 2012 he announced TypeScript a superset of JavaScript. He still works for Microsoft as the lead architect of C# and the core developer of TypeScript.
Reason For Existing: C# is an object oriented language that combines the high productivity of C and C++ used for developing applications. It is used for general applications such as desktop and web applications. It also utilizes the newer dotnet libraries so it can run on any operating system.
So I was very intrigued by your statement that C# and Java have taken divergent paths since 2005 and are very different languages today. Could you provide the top couple a significant differences between the languages that support this claim?
ReplyDeleteJava has been influenced by the C language. It gets most of its syntax from C and C++. However it has fewer implementation dependencies as compared to previous languages. C# is an object oriented programming language. It is also a multi-paradigm programming language. It is based on C Programming. It was originally developed by Microsoft to use in the .NET framework.
DeleteC# provides more data types than Java.
C# supports operator overloading but Java doesn't.
C# allow parameters to be passed down using the ref keyword where Java passes parameters by value.
Declaring arrays is different in C# compared to Java.
Java doesn't have extension methods.
C# interfaces can't declare fields.