C# 本质论 第5版 C# 6.0

所需积分/C币:10 2016-06-21 16:29:28 10.65MB PDF
收藏 收藏

C# 本质论 第5版 C# 6.0 英文版
The Addison-Wesley Microsoft Technology Series LINQ TQ OBJECTS VINDOWS 7 ESSENTIAL USING C# 4.0 WINDOWS SYSTEM DEVICE DRIVER SHAREPOINT 2013 RAMMHG JOHNSON M HART ÷Addi lison-Wesley Visit informit. com/mstechseries for a complete list of available products itles in The Addison-Wesley microsoft Technology Series address the latest Microsoft technologies used by developers, IT professionals, managers, and architects. Titles in this series cover a broad range of topics, from programming languages to servers to advanced developer techniques. The books are written by thought leaders and experts in their respective communities, including many MVPs and rDs. the format of this series was created with ease-of-use in mind incorporating features that make finding topics simple; visually friendly charts and fonts; and thorough and intuitive indexes With trusted authors, rigorous technical reviews, authoritative coverage, and independent viewpoints, the microsoft Community can rely on Addison-Wesley to deliver the highest quality technical information Tube Make sure to connect with us! nformit. com/socialconnect nformIT. com+ Addison-Wesle Safari the trusted technology learning source Essential C#60 Mark michaelis with Eric Lippert A Addison-Wesley New york· Boston· Indianapolis· San francisco Toronto● Montreal· London· Munich· Paris· Madrid Capetown. Sydney· Tokyo· Singapore· Mexico city Microsoft, Windows, Visual Basic, Visual C#, and Visual C++ are either registered trademarks or trade- marks of Microsoft Corporation in the U.S.A. and/or other countries /regions Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trade mark claim, the designations have been printed with initial capital letters or in all capitals The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein include electronic versions; custom cover designs; and content particular to your business, training For information about buying this title in bulk quantities, or for special sales opportunities(which may goals, marketing focus, or branding interests), please contact our corporate sales department at corp sales@pearsoned.comor(800)382-3419 Forgovernmentsalesinquiries,pleasecontactgovernmentsales@pearsoned.com ForquestionsaboutsalesoutsidetheU.s.,pleasecontactinternational@pearsoned.com Visit us on the Web: informit. com/aw Library of Congress Cataloging-in-Publication data M michaelis Essential C#6.0/ Mark Michaelis with Eric Lippert P ages cm Includes index iSBN 978-0-13-414104-6(pbk: alk. paper)-ISBN0-13-414104-0(pbk: alk. paper) 1. C#( Computer program language)2. Microsoft. NET Framework. I. Lippert, Eric, author. II. Title QA7673C154M52392016 005.13′3-dc23 2015025757 Copyright o 2016 Pearson Education, Inc All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a re trieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, record ing, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc, Permissions Department, 200 Old Tappan Road, Old Tappan, New Jersey 07657 or you may fax your request to(201)236-3290 ISBN-13:978-0-13-4141046 ISBN-10:0-13-414104-0 Text printed in the United States on recycled paper at Edwards Brothers Malloy in Ann Arbor, Michigan First printing, september 2015 To my family: Elisabeth, Benjamin, Hanna, and abigail You have sacrificed a husband and daddy for countless hours of writing frequently at times when he was needed most This page intentionally left blank Contents at a glance Figures xu Contents ix Tables xvii Foreword xi℃ Preface xxiii Acknowledgments xxxv About the authors xxxvii 1 Introducing C# 2 Data Types 35 3 Operators and Control Flow 89 4 Methods and Parameters 161 5 Classes 217 6 Inheritance 289 7 Interfaces 325 8 Value Types 351 9 Well-Formed Types 383 10 Exception Handling 433 11 Generics 455 12 Delegates and Lambda Expressions 505 vii Contents at a Glance 13 Events 543 14 Collection Interfaces with Standard Query Operators 571 15 LINQ with Query Expressions 621 16 Building Custom Collections 643 17 Reflection, Attributes, and Dynamic Programming 683 18 Multithreading 731 19 Thread Synchronization 815 2o Platform Interoperability and Unsafe Code 849 21 The Common Language Infrastructure 877 A Downloading and Installing the c# Compiler and CLI Platform 897 B Tic-Tac-Toe Source Code Listing 903 c Interfacing with Multithreading Patterns prior to the TPL and C# 6.0 909 D Timers Prior to the async/Await Pattern of C#5.0 939 Ⅰndex945 Index of 6.0 Topics 983 Index of 5.0 Topics 991 Index of 4.0 Topics 995 Index of 3.0 Topics 1001 Contents Figures xu Tables xvii Foreword xi℃ Preface xxiii Acknowledgments xxxv about the authors xxxvii ntroducing C# Hello, world 2 C# Syntax Fundamentals 4 Console Input and output 18 Data Types 35 Fundamental Numeric Types 36 More Fundamental Types 45 null and void 58 Categories of Types 61 Nullable modifier 64 Conversions between Data Types 65 Arrays 71 3 Operators and Control Flow 89 tors 90 Introducing Flow Control 107 Code Blocks (0 114

试读 127P C# 本质论 第5版 C# 6.0
立即下载 身份认证VIP会员低至7折
关注 私信
C# 本质论 第5版 C# 6.0 10积分/C币 立即下载
C# 本质论 第5版 C# 6.0第1页
C# 本质论 第5版 C# 6.0第2页
C# 本质论 第5版 C# 6.0第3页
C# 本质论 第5版 C# 6.0第4页
C# 本质论 第5版 C# 6.0第5页
C# 本质论 第5版 C# 6.0第6页
C# 本质论 第5版 C# 6.0第7页
C# 本质论 第5版 C# 6.0第8页
C# 本质论 第5版 C# 6.0第9页
C# 本质论 第5版 C# 6.0第10页
C# 本质论 第5版 C# 6.0第11页
C# 本质论 第5版 C# 6.0第12页
C# 本质论 第5版 C# 6.0第13页
C# 本质论 第5版 C# 6.0第14页
C# 本质论 第5版 C# 6.0第15页
C# 本质论 第5版 C# 6.0第16页
C# 本质论 第5版 C# 6.0第17页
C# 本质论 第5版 C# 6.0第18页
C# 本质论 第5版 C# 6.0第19页
C# 本质论 第5版 C# 6.0第20页

试读结束, 可继续阅读

10积分/C币 立即下载