Book Description
This is a teaching material about object-oriented programming, illustrated with use of the programming language C#.
It is assumed, as a prerequisite, that the readers have some knowledge about imperative programming, preferably knowledge about C.
I believe that it is best to learn object-oriented programming after having learned and worked with imperative programming. Thus, we adhere to an "object later approach".
This open book is licensed under a Open Publication License (OPL). You can download Object-oriented Programming in C# ebook for free in PDF format (3.1 MB).
Table of Contents
Chapter 1
Introduction to Object-oriented Programming
Chapter 2
Introduction to C#
Chapter 3
Classes and Objects
Chapter 4
Reference types, Value types, and Patterns
Chapter 5
Data Access, Properties, and Methods
Chapter 6
Operators, Delegates, and Events
Chapter 7
Specialization, Extension, and Inheritance
Chapter 8
Abstract classes, Interfaces, and Patterns
Chapter 9
Exception Handling
Chapter 10
Input and Output Classes
Chapter 11
Generic Types and Methods
Chapter 12
Collection Classes
Chapter 13
Contracts and Assertions
Chapter 14
Test of Object-oriented Programs
Chapter 15
Documentation of Object-oriented Programs
Chapter 16
An Introduction to LINQ