C# for Java Programmers

Chapter 2: Introducing C#

Introduction

C# is a new generation language designed to work within the .NET framework. It s a strongly typed, object-oriented language that is a direct descendent of other languages including C, C++, and Java. C# was developed by a small team led by Microsoft researcher Anders Hejlsberg, who is known for creating the popular Turbo Pascal programming language and for his work on Borland Delphi, an integrated development environment (IDE) for client-server programming. C# is designed to give the optimum blend of simplicity, expressiveness, and performance.

This chapter will provide you with a whirlwind tour of the new C# programming language. You will be introduced to the basic language features and learn about the many similarities and differences it has compared with Java. This chapter also covers installing and using the tools you ll need to program your very first C# application.

The C# Language

The C# language is highly expressive in implementing all the features of a modern object-oriented programming language. It provides support for encapsulation, inheritance, and polymorphism the three pillars of object-oriented programming. At its core, C# has about 80 keywords and a dozen built-in data types (Java has 51 reserved words and 8 data types). It includes language features such as single inheritance, multiple interfaces, and compilation to an intermediate format. It is designed with the Internet and component architecture in mind, making it the ideal language to use with .NET.

Java and C# have a lot in common. With the properties mentioned earlier, plus a syntax that is...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Integrated Development Environment (IDE)
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.