站内搜索: 请输入搜索关键词
当前页面: 图书首页 > NET For Java Developers Migrating To C#

NET For Java Developers Migrating To C#

[ directory ] Previous Section Next Section

Chapter 3. C# and Java: What Is the Difference?

In June 2000, Microsoft introduced both the .NET platform and a new programming language called C#. The C# language was built with the hindsight gained from experience with many languages, most notably Java and C++. As a result, C# shares many similarities with Java. However, there are also some differences between the two languages梔ifferences that go beyond syntax and constructs. To truly appreciate the differences and similarities in the languages, we encourage you to dive right into the rest of the chapters. This chapter gives you a snapshot of the differences and the similarities, which are explained in detail in the forthcoming chapters.

We will compare C# and Java using the following categories:

  • Programming platforms (.NET and Java)

  • Runtime architecture

  • The object-oriented programming (OOP) model

  • Language constructs, syntax, and the application programming interface

    [ directory ] Previous Section Next Section