没有合适的资源?快使用搜索试试~ 我知道了~
Interactive C# Fundamentals, Core Concepts and Patterns 无水印原版pdf
需积分: 10 17 下载量 35 浏览量
2017-12-29
02:15:48
上传
评论
收藏 15.23MB PDF 举报
温馨提示
试读
517页
Interactive C# Fundamentals, Core Concepts and Patterns 英文无水印原版pdf pdf所有页面使用FoxitReader、PDF-XChangeViewer、SumatraPDF和Firefox测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书
资源推荐
资源详情
资源评论
Interactive
C#
Fundamentals, Core Concepts and Patterns
—
Vaskaran Sarcar
Foreword by A. Rajendram and S. Ghosh
Interactive C#
Fundamentals, Core Concepts
and Patterns
VaskaranSarcar
Foreword by A. Rajendram and S. Ghosh
Interactive C#
ISBN-13 (pbk): 978-1-4842-3338-2 ISBN-13 (electronic): 978-1-4842-3339-9
https://doi.org/10.1007/978-1-4842-3339-9
Library of Congress Control Number: 2017962428
Copyright © 2018 by Vaskaran Sarcar
is work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the
material is concerned, specically the rights of translation, reprinting, reuse of illustrations, recitation,
broadcasting, reproduction on microlms or in any other physical way, and transmission or information
storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now
known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with
every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an
editorial fashion and to the benet of the trademark owner, with no intention of infringement of the
trademark.
e use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not
identied as such, is not to be taken as an expression of opinion as to whether or not they are subject to
proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication,
neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or
omissions that may be made. e publisher makes no warranty, express or implied, with respect to the
material contained herein.
Cover image designed by Freepik (www.freepik.com)
Managing Director: Welmoed Spahr
Editorial Director: Todd Green
Acquisitions Editor: Celestin Suresh John
Development Editor: Matthew Moodie
Technical Reviewer: Shekhar Kumar Maravi
Coordinating Editor: Sanchita Mandal
Copy Editor: Kim Burton-Weisman
Compositor: SPi Global
Indexer: SPi Global
Artist: SPi Global
Distributed to the book trade worldwide by Springer Science+Business Media NewYork, 233 Spring Street,
6th Floor, NewYork, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-
sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member
(owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a
Delaware corporation.
For information on translations, please e-mail rights@apress.com, or visit http://www.apress.com/
rights-permissions.
Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and
licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales
web page at http://www.apress.com/bulk-sales.
Any source code or other supplementary material referenced by the author in this book is available to
readers on GitHub via the book’s product page, located at www.apress.com/978-1-4842-3338-2. For more
detailed information, please visit http://www.apress.com/source-code.
Printed on acid-free paper
VaskaranSarcar
560066, Karnataka, India
iii
Table of Contents
Part I: Enter into the World of OOP �������������������������������������������������������� 1
Chapter 1: Object-Oriented Programming Concepts ������������������������������������������������ 3
Class andObjects ������������������������������������������������������������������������������������������������������������������������� 5
Encapsulation ������������������������������������������������������������������������������������������������������������������������������� 6
Abstraction ������������������������������������������������������������������������������������������������������������������������������������ 6
Inheritance ������������������������������������������������������������������������������������������������������������������������������������ 7
Polymorphism ������������������������������������������������������������������������������������������������������������������������������� 7
Summary��������������������������������������������������������������������������������������������������������������������������������������� 9
Chapter 2: The Building Blocks: Class andObjects ������������������������������������������������ 11
Class ������������������������������������������������������������������������������������������������������������������������������������������� 11
Object ������������������������������������������������������������������������������������������������������������������������������������������ 11
Class Demonstrations ����������������������������������������������������������������������������������������������������������������� 15
Demonstration 1�������������������������������������������������������������������������������������������������������������������������� 16
Output ������������������������������������������������������������������������������������������������������������������������������������ 17
Additional Comments ������������������������������������������������������������������������������������������������������������ 17
Foreword by Ambrose Rajendram ������������������������������������������������������������������������xxiii
Foreword by Siddhartha Ghosh �����������������������������������������������������������������������������xxv
About the Author �������������������������������������������������������������������������������������������������xxvii
About the Technical Reviewers ����������������������������������������������������������������������������xxix
Acknowledgements ����������������������������������������������������������������������������������������������xxxi
Preface ���������������������������������������������������������������������������������������������������������������xxxiii
Guidelines for Using the Book ���������������������������������������������������������������������������xxxvii
iv
Demonstration 2�������������������������������������������������������������������������������������������������������������������������� 19
Output ������������������������������������������������������������������������������������������������������������������������������������ 20
Analysis ��������������������������������������������������������������������������������������������������������������������������������� 20
Additional Comments ������������������������������������������������������������������������������������������������������������ 21
Quiz���������������������������������������������������������������������������������������������������������������������������������������� 23
Output ������������������������������������������������������������������������������������������������������������������������������������ 23
Explanation ���������������������������������������������������������������������������������������������������������������������������� 24
Demonstration 3�������������������������������������������������������������������������������������������������������������������������� 27
Output ������������������������������������������������������������������������������������������������������������������������������������ 28
Explanation ���������������������������������������������������������������������������������������������������������������������������� 28
Demonstration 4�������������������������������������������������������������������������������������������������������������������������� 30
Output ������������������������������������������������������������������������������������������������������������������������������������ 31
Additional Comments ������������������������������������������������������������������������������������������������������������ 31
Demonstration 5�������������������������������������������������������������������������������������������������������������������������� 31
Output ������������������������������������������������������������������������������������������������������������������������������������ 32
Object Initializers ������������������������������������������������������������������������������������������������������������������������ 33
Demonstration 6�������������������������������������������������������������������������������������������������������������������������� 33
Output ������������������������������������������������������������������������������������������������������������������������������������ 34
Analysis ��������������������������������������������������������������������������������������������������������������������������������� 35
Optional Parameters ������������������������������������������������������������������������������������������������������������������� 35
Demonstration 7�������������������������������������������������������������������������������������������������������������������������� 36
Output ������������������������������������������������������������������������������������������������������������������������������������ 37
Analysis ��������������������������������������������������������������������������������������������������������������������������������� 37
Summary������������������������������������������������������������������������������������������������������������������������������������� 39
Chapter 3: The Concept ofInheritance ������������������������������������������������������������������� 41
Types ������������������������������������������������������������������������������������������������������������������������������������������� 41
Demonstration 1�������������������������������������������������������������������������������������������������������������������������� 44
Output ������������������������������������������������������������������������������������������������������������������������������������ 44
Additional Comments ������������������������������������������������������������������������������������������������������������ 45
Table of ConTenTs
剩余516页未读,继续阅读
资源评论
yinkaisheng-nj
- 粉丝: 763
- 资源: 6953
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功