Beginning C# Object-Oriented Programming (Paperback) (C# 物件導向程式設計入門)
Dan Clark
- 出版商: Apress
- 出版日期: 2011-06-01
- 售價: $2,170
- 貴賓價: 9.5 折 $2,062
- 語言: 英文
- 頁數: 378
- 裝訂: Paperback
- ISBN: 1430235306
- ISBN-13: 9781430235309
-
相關分類:
C#、Object-oriented
海外代購書籍(需單獨結帳)
相關主題
商品描述
Beginning C# Object-Oriented Programming brings you into the modern world of development as you master the fundamentals of programming with C# and learn to develop efficient, reusable, elegant code through the object-oriented programming (OOP) methodology. Take your skills out of the 20th century and into this one with Dan Clark's accessible, quick-paced guide to C# and object-oriented programming, completely updated for .NET 4.0 and C# 4.0.
As you develop techniques and best practices for coding in C#, one of the world's most popular contemporary languages, you'll experience modeling a “real world” application through a case study, allowing you to see how both C# and OOP (a methodology you can use with any number of languages) come together to make your code reusable, modern, and efficient.
With more than 30 fully hands-on activities, you'll discover how to transform a simple model of an application into a fully-functional C# project, including designing the user interface, implementing the business logic, and integrating with a relational database for data storage. Along the way, you will explore the .NET Framework, the creation of a Windows-based user interface, a web-based user interface, and service-oriented programming, all using Microsoft's industry-leading Visual Studio 2010, C#, Silverlight, the Entity Framework, and more.
What you’ll learn
- Learn to use the Universal Modeling Language (UML) to quickly design an application correctly from the first time
- Understand object-oriented programming principles and how they benefit your work in today's dual Web- and Windows-based world
- Integrate OOP fundamentals when developing code in C#
- Discover the .NET Framework and how it can help you create applications quickly and efficiently
- Walk along as the author develops a complete Windows- and Web-based application using the techniques and best practices covered inside
Who this book is for
- If you're a beginning C# programmer who wants to gain a foundation in object-oriented programming along with the C# language basics, this book is for you.
- Programmers transitioning from a procedure-oriented programming model to an object-oriented model will also find many practical suggestions and walkthroughs inside.
- In particular, Visual Basic developers who want to transition to C# programming, but lack a firm grasp of object-oriented programming principles, will find this book an excellent starting point for their journey into C#.
Table of Contents
- Overview of Object-Oriented Programming
- Designing OOP Solutions: Identifying the Class Structure
- Designing OOP Solutions: Modeling the Object Interaction
- Designing OOP Solutions: A Case Study
- Introducing the .NET Framework and Visual Studio
- Creating Classes
- Creating Class Hierarchies
- Implementing Object Collaboration
- Working with Collections
- Implementing the Data Access Layer
- Developing Windows Applications
- Developing Web Applications
- Developing and Consuming WCF Services
- Developing the OSO Application
- Wrapping Up
- Fundamental Programming Concepts
- Exception Handling in C#
- Installing the Required Software
商品描述(中文翻譯)
《Beginning C#物件導向程式設計》帶領您進入現代開發世界,掌握C#程式設計的基礎,並透過物件導向程式設計(OOP)方法論開發高效、可重複使用、優雅的程式碼。這本由Dan Clark撰寫的易讀、節奏快的C#和物件導向程式設計指南已完全更新至.NET 4.0和C# 4.0。
在學習C#這個當代最受歡迎的程式語言的編碼技巧和最佳實踐的過程中,您將通過一個案例研究體驗建模一個“真實世界”應用程式,從而了解C#和OOP(一種可用於任何語言的方法論)如何結合,使您的程式碼可重複使用、現代化和高效。
通過30多個實踐活動,您將發現如何將一個簡單的應用程式模型轉化為一個完整的C#項目,包括設計用戶界面、實現業務邏輯以及與關聯式數據庫進行數據存儲的集成。在此過程中,您將使用Microsoft領先業界的Visual Studio 2010、C#、Silverlight、Entity Framework等,探索.NET Framework、創建基於Windows的用戶界面、基於Web的用戶界面和面向服務的程式設計。
本書將教您:
- 使用通用建模語言(UML)快速正確地設計應用程式
- 理解物件導向程式設計原則及其如何在當今雙Web和Windows環境中受益
- 在C#編碼時整合OOP基礎知識
- 了解.NET Framework及其如何幫助您快速高效地創建應用程式
- 跟隨作者開發一個完整的基於Windows和Web的應用程式,並運用書中介紹的技巧和最佳實踐
本書適合對象:
- 初學C#程式設計希望在掌握C#語言基礎的同時建立物件導向程式設計基礎的讀者
- 從過程導向程式設計模型轉向物件導向模型的程式設計師,書中提供了許多實用建議和實例
- 特別適合希望轉向C#程式設計,但對物件導向程式設計原則尚不熟悉的Visual Basic開發人員,本書是他們進入C#的絕佳起點
附錄A中還提供了一個簡要介紹,討論了一些基本的過程導向程式設計概念。
目錄:
1. 物件導向程式設計概述
2. 設計OOP解決方案:識別類結構
3. 設計OOP解決方案:建模物件互動
4. 設計OOP解決方案:案例研究
5. .NET Framework和Visual Studio簡介
6. 創建類別
7. 創建類別層次結構
8. 實現物件協作
9. 使用集合
10. 實現資料存取層
11. 開發Windows應用程式
12. 開發Web應用程式
13. 開發和使用WCF服務
14. 開發OSO應用程式
15. 總結
16. 基本程式設計概念
17. C#中的例外處理
18. 安裝所需軟體