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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.37.154