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

From Java To C# A Developers Guide

[ directory ] Previous Section Next Section

Part 2: Classes, methods and other OO stuff

Introduction

This part builds the OO foundation for programming in C#. In the following chapters, I have made comparisons between how both C# and Java fulfill their support for object-oriented programming. This part has been written with the assumption that you are a Java developer. Hence I will not go through basic OO concepts and those 'why' questions (such as 'why do we want abstract methods?'; 'why are interfaces good?'; 'why do we need constants?'; etc.) but zoom in on the differences between the two languages.

I would suggest that you start with Chapter 5 which dissects the Hello World program you wrote in Chapter 4. The other chapters in this part can be read in any order. When you start on C# programming, you can always refer to the relevant sections for reference.

Language comparisons, in terms of their operators and flow control, will be covered in Part 3.

The chapters in this part are:
 

Chapter 5: Getting started

 

Chapter 6: Class issues

 

Chapter 7: Method issues

 

Chapter 8: Miscellaneous issues.

    [ directory ] Previous Section Next Section