Thinking in C#
Larry O’Brien and Bruce Eckel

Thinking in C#
Larry O’Brien and Bruce Eckel
Prentice Hall Upper Saddle River, New Jersey 07458 www.phptr.com

Dedication
For Tina, who makes me happy — LOB

Overview
Preface: Computer Language 1: Those Who Can, Code 2: Introduction to Objects 3: Hello, Objects 4: Controlling Program Flow 5: Initialization and Cleanup 6: Hiding the Implementation 7: Reusing Classes 8: Interfaces and Implementation 9: Coupling and Cohesion 10: Collecting Your Objects 11: Error Handling with Exceptions 12: I/O in C# 13: Reflection and Attributes 14: Programming Windows Forms 15: GDI+ Overview 16: Multithreaded Programming 17: XML 18: Web Programming A: C# for Visual Basic Programmers B: C# for Java Programmers C: Test-First Programming with NUnit 1 1 21 51 89 151 201 221 265 319 353 443 477 515 551 663 715 777 828 883 887 891

D: Programming the Pocket PC E: C# programming guidelines F: Resources Concordance Class, Method, Property Cross-Reference Index

899 907 919 921 925 933

What’s Inside
Preface: Computer Language
Prerequisites ............................ 2 Learning C# ............................. 3 Goals ........................................ 4 Online documentation............. 5 Exercises .................................. 5 Source code.............................. 5 Coding standards..................... 8 C# and .NET versions.............. 8 Seminars and mentoring ......... 8 Errors ....................................... 9 Note on the cover design ......... 9 Acknowledgments ................... 9 Inheritance: Reusing the interface ................................. 29
Is-a vs. is-like-a relationships ......33

1

Interchangeable objects with polymorphism........................ 34
Abstract base classes and interfaces39

Object landscapes and lifetimes39
Collections and iterators ............. 40 The singly rooted hierarchy..........42 Collection libraries and support for easy collection use... [continues]

Read full essay

Cite This Essay

APA

(2011, 05). Miss. StudyMode.com. Retrieved 05, 2011, from http://www.studymode.com/essays/Miss-695989.html

MLA

"Miss" StudyMode.com. 05 2011. 05 2011 <http://www.studymode.com/essays/Miss-695989.html>.

CHICAGO

"Miss." StudyMode.com. 05, 2011. Accessed 05, 2011. http://www.studymode.com/essays/Miss-695989.html.