Book description
Updated with the latest changes to C#, Beginning C# 2008 Objects: From Concepts to Code introduces complete beginners to C# coding practice with a solid methodological foundation written by two critically-acclaimed experts in the field, already authors of the best-selling Beginning C# Objects.
By building from first principles in object-oriented terminology, then advancing through application design with UML into practical examples, Beginning C# 2008 Objects: From Concepts to Code provides a completely up-to-date foundational guide written from the perspective of two experienced, working authorities on C#.
Working coders will benefit from the object-oriented cast of the book and its section on use-case modeling. This is the book to read if you want to deepen and advance your existing professional development in C# with an eye towards advancing out of pure coding work.
For the reader wishing to "simply learn C#", this book will provide exactly that. In addition to listing code and syntax, Beginning C# 2008 Objects: From Concepts to Code also walks you through the design and architecting of a functioning C# application, showing the "why" and the "how" of the development decisions that go into professional C# coding.
Table of contents
- Copyright
- Dedication
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Preface
- Introduction
-
The ABCs of Objects
-
A Little Taste of C#
- Getting Hands-On with C#
- Why C#?
- C# Language Basics
- Anatomy of a Simple C# Program
- Predefined Types
- Variables
- Strings
- Case Sensitivity
- C# Expressions
- Implicit Type Conversions and Explicit Casting
- Loops and Other Flow of Control Structures
- Jump Statements
- Code Blocks and Variable Scope
- Printing to the Screen
- Elements of C# Style
- Summary
- Exercises
- Abstraction and Modeling
- Objects and Classes
- Object Interactions
- Relationships Between Objects
- Collections of Objects
- Polymorphism and Some Final Object Concepts
-
A Little Taste of C#
-
Object Modeling 101
- The Object Modeling Process in a Nutshell
- Formalizing Requirements Through Use Cases
-
Modeling the Static/Data Aspects of the System
- Identifying Appropriate Classes
- Producing a Data Dictionary
- Determining Associations Between Classes
- Identifying Fields
- UML Notation: Modeling the Static Aspects of an Abstraction
- Object Diagrams
- Information "Flows" Along the Association "Pipeline"
- "Mixing and Matching" Relationship Notations
- Association Classes
- Our Completed Student Registration System Class Diagram
- Inheritance or Association?
- Summary
- Exercises
- Modeling the Dynamic/Behavioral Aspects of the System
- Wrapping Up Our Modeling Efforts
-
Translating a UML "Blueprint" into C# Code
-
A Deeper Look at C#
- Namespaces
- Strings As Objects
- Object Class
- Object Self-Referencing with "this"
- C#'s Collection Classes
- More on Fields
- More About the Main Method
- Printing to the Screen, Revisited
- Constructors, Revisited
- More About Inheritance and C#
- More on Methods
- More on Properties
- Object Identities
- Object Deletion and Garbage Collection
- Attributes
- Summary
- Exercises
- Transforming Our UML Model into C# Code
-
Rounding Out Our Application, Part 1: Adding File Persistence
- What Is Persistence?
- C# Exception Handling
- Reading Data from or Writing Data to a File
- General I/O Approach for the SRS Classes
- CourseCatalog
- Changes to ScheduleOfClasses
- Faculty
- Course Modifications
- The Student Class (Dynamic Data Retrieval; Persisting Object State)
- Binary I/O
- Revisiting the SRS Class
- Summary
- Exercises
- Rounding Out Our Application, Part 2: Adding a Graphical User Interface
- Next Steps
- Installing .NET and Compiling C# Programs
- Downloading and Compiling the SRS Source Code
-
A Deeper Look at C#
- Index
Product information
- Title: Beginning C# 2008 Objects: From Concept to Code
- Author(s):
- Release date: October 2008
- Publisher(s): Apress
- ISBN: 9781430210887
You might also like
book
Programming in the .NET Environment
is the software developer's guide to the .NET Framework. The authors describe Microsoft's vision for distributed …
book
Illustrated C# 2012
This book presents the C# 5.0 language in a uniquely succinct and visual format. Often in …
book
Fancy Form Design
Forms' - is there any other word that strikes as much fear into the hearts of …
book
Developer’s Guide to Collections in Microsoft® .NET
Build the skills to apply Microsoft .NET collections effectively Put .NET collections to work—and manage issues …