How to get the most out of C# using Object Orientation! Guide to C# and Object Orientation is a thoroughly practical introduction to the concepts of C# and object orientation. Most computer scientists and software engineers learn best by doing rather than by reading the theory, and this book's hands-on approach to learning C# and object orientation, using lots of worked examples, provides an ideal base from which to start programming. After introducing the C# language and object orientation, John Hunt goes on to explain: * how to construct a user interface for a simple editor; * how to obtain information on files and directories and how objects can be stored and restored using serialization; * the concurrency mechanism of C# and remoting in C#; * how to use C# with ASP.NET * XML and C# * the .NET concept and the role of C# within it. There is also comprehensive coverage of the concepts of object oriented analysis and design; the UML and the main phases of the Unified Process using the UML notation. The source code for the examples is available at: http://www.guide-to-csharp.net
Author(s): John Hunt (auth.)
Edition: 1
Publisher: Springer-Verlag London
Year: 2002
Language: English
Pages: 476
Tags: Programming Languages, Compilers, Interpreters
Front Matter....Pages i-xxvii
Front Matter....Pages 1-1
Introduction to Object Orientation....Pages 3-19
Elements of Object Orientation....Pages 21-26
Front Matter....Pages 27-27
Why Object Orientation?....Pages 29-34
Constructing an Object-Oriented System....Pages 35-45
An Introduction to C#....Pages 47-52
A Little C#....Pages 53-55
C# Classes....Pages 57-74
Structs and Enumerations....Pages 75-83
Interfaces....Pages 85-93
C# Constructs....Pages 95-106
Characters and Strings....Pages 107-113
An Example C# Class....Pages 115-120
Front Matter....Pages 121-121
Classes, Inheritance and Abstraction....Pages 123-136
Encapsulation and Polymorphism....Pages 137-149
Nested Classes....Pages 151-155
Arrays in C#....Pages 157-166
The Collections API....Pages 167-185
An Object-Oriented Organizer....Pages 187-194
Front Matter....Pages 195-195
Control and Iteration....Pages 197-209
Attributes and Versioning....Pages 211-217
Front Matter....Pages 195-195
Delegates....Pages 219-227
Exception Handling....Pages 229-239
Front Matter....Pages 241-241
Graphical User Interfaces....Pages 243-256
Event Handling....Pages 257-261
The JDEdit Application....Pages 263-273
Front Matter....Pages 275-275
Streams and Files....Pages 277-288
Serialization....Pages 289-296
Sockets in C#....Pages 297-303
Data Access....Pages 305-319
Remoting in.NET....Pages 321-331
Concurrency....Pages 333-352
Using C# in ASP.NET....Pages 353-358
Web-Based User Interfaces....Pages 359-369
XML and C#....Pages 371-386
C# Style....Pages 387-397
C# Roundup....Pages 399-412
The .NET Environment....Pages 413-417
Front Matter....Pages 419-419
Object-Oriented Analysis and Design....Pages 421-428
The Unified Modeling Language....Pages 429-448
The Unified Process....Pages 449-466
Back Matter....Pages 467-476