资料下载网
首页 计算机 考试教辅
Visual C#2010从入门到精通(Microsoft Visual C# 2010 Step by Step)_John Sharp编著 pdf电子书免费下载,百度云
首页 > 计算机 > 计算机F > Visual C#2010从入门到精通(Microsoft Visual C# 2010 Step by Step)_John Sharp编著 pdf电子书免费下载,百度云

《Visual C#2010从入门到精通(Microsoft Visual C# 2010 Step by Step)_John Sharp编著》pdf电子书免费下载


下载方式一:

百度网盘下载地址:https://pan.baidu.com/s/13hvnm3svYgR0C1pI7jTtOA
百度网盘密码:1111

下载方式二:

http://ziliaoshare.cn/Download/af_124346_pd_VisualC#2010CRMDJT(MicrosoftVisualC#2010StepbyStep)_JohnSharpBZ.zip

 


Visual C#2010从入门到精通(Microsoft Visual C# 2010 Step by Step)_John Sharp编著

作者:empty

页数:781

出版社:empty

《Visual C#2010从入门到精通(Microsoft Visual C# 2010 Step by Step)_John Sharp编著》介绍

Dist n but ed in Canada by H.B.Fenn and Company Ltd.ACIP eat a logue record for this book is available from n the British Library.Microsoft Press books are available th toughbook sellers and distributors worldwide.For further informaion aboutinternational editions, contact your local Microsoft Corporation of ticeorcontaetMictosott Press International directlyat fax(4251936-7329LVisitourWebsteatwwwanicrosof.com/mspeess.Sendcommemtstomspinputeinicrosof.comMicrosoft.Mie rosoft Press, Excel.IntelliSense, InternetExplorer.J scrip.MS, MSDN, SQLServer.VisualBasic, VisualC#, Viso alC++, VisualStudio, Win 32.Windows, and Windows Vista are either registered trademarks ar trade tn arks ofthe Mic to soft group of companies.Other product and company names men i one d be re in maybe the trademarks of theirte spect ave owners.The example companies.organizations, pro duets, domain na ines, e-mail addresses, log us, people.places, and eventsdepicted be re in are tic tit ious.No assu ciation witi any real co it pany.organization, prod oct.domainname, e-mail address,logo.perso rl.place.or event is intended or should be inferred.Ths book exp esses the authors Views and opnion s.The inforation conta iped in this book is provided wthout anyexpress, statutory, or implied warranties.Neither the authors, Microsoft Corporation, b or its resellers, or distr a but ors willbeheld lable for any damages caused or alleged to because de a bserdireetlyorindireetly by thi book.

An of t-repeated fable is that the workmen who paint the Forth Railway Bridge, a largeVictorian cantilever structure that spans the Firth of Forth just north of Edinburgh, have ajob for life.According to the myth, it takes them several years to paint it from one end tothe other, and when they have finished they have to start over again, lam not sure whetherthis is due to the ferocity of the Scottish weather, or the sensitivity of the paint that is used,although my daughter insists it is simply that the members of Edinburgh City Council haveyet to decide on a colorscheme that they really like for the bridge.I sometimes feel that thisbook has similar attributes.No sooner have l completed an edition and seen it published,then Microsoft announces another cool update for VisualStudio and C#, and my friends atMicrosoft Press contact me and say, “What are your plans for the next edition? However,unlike painting the Forth Railway Bridge, working on a new edition of this text is always anenjoyable task with alot more scope for inventiveness than trying to workout new waysto hold a paintbrush.There is always something novel to learn and innovative technologyto play with.In this edition, I cover the new features of C#4.0 and the.NET Framework 4.0,which developers wil find invaluable for building applications that can take advantage of theincreasingly powerful hardware now becoming available.Hence, although this work appearsto be a never-ending task, it is always fruitful and pleasurableA large part of the enjoyment when working on a project such as this is the opportuni y tocollaborate with a highly motivated group of talented people within Microsoft Press, thedevelopers at Microsoft working on VisualStudio 2010, and the people who review eachchapter and make suggestions for various improvements.I would especially like to single outRosemary Caperton and StephenS ag man who have worked tirelessly to keep the projecton track, to Per Blomqvist who reviewed(and corrected) each chapter, and to Rager LeBlancwho had the thankless task of copy-editing the manuscript and converting my prose intoEnglish.I must also make special mention of Michael Blome who provided me with earlyaccess to software and answered the many questions that l had concerning the Task Par all alLibrary Several members of ContentMaster were kept gainfully employed reviewing andtesting the code for the exercises-thanks Mike Sum sion, Chris Cully, James Mil ar, and LouisaPerry.Of course, I must additionally thank Jon Jagger who co-authored the first edition ofthis book with me back in 2001.

and had to ask her how she would explain Barrier methods.She looked at me quizzically,and gave a reply that although anatomically correct if l was in a doctor's surgery, indicatedthat either l had not phrased the question very carefully or that she had completely mis-understood what I was asking!James has now grownup and will soon have to learn whatreal work entails if he is to keep Diana and myself in the manner to which we would like tobecome accustomed in our dotage Francesca has also grownup, and seems to have refineda strategy forgetting all she wants without doing anything other than looking at me withwide, bright eyes, and sm ling

Microsoft Visual C#is a powerful but simple language aimed primar il at developers creatingapplications by using the Microsoft.NET Framework.It inherits many of the best features ofC++and Microsoft VisualBasic, but few of the inconsistencies and anachronisms, resultingin a cleaner and more logical language .C#1.0 made its public debut in 2001.The advent ofC#2.0withVisualStudio2005saw several important new features added to the language,including Generics, Iterators, and anonymous methods .C#3.0 which was released withVisualStudio 2008, added extension methods, lambda expressions, and most famously ofall, the Language Integrated Query facility, or LINQ The latest incarnation of the languageC#4.0, provides further enhancements that improve its interoperability with other languagesand technologies.These features include support for named and optional arguments, thedynamictype which indicates that the language runtime should implement late binding foran object, and variance which resolves some issues in the way in which generic interfaces aredefined.Co 4.0 takes advantage of the latest version of the.NET Framework, also version4.0.There are many additions to the.NET Framework in this release, but arguably the mostsignificant are the classes and types that constitute the Task Parallel Library(TPL) .Using theTPL.you can now build highly scalable applications that can take full advantage of multi-coreprocessors quickly and easily.The support for Webservices and Windows CommunicationFoundation{WCF) has also been extended, you can now build services that follow the RESTmodel as well as the more traditional SOAP schemeThe development environment provided by Microsoft VisualStudio 2010 makes all thesepowerful features easy to use, and the many new wizards and enhancements in dl uded inVisualStudio 2010 can greatly improve your productivity as a developer.This book assumes that you area developer who wants to learn the fundamentals ofprogramming with C#by using VisualStudio 2010 and the NET Framework version 4.0Inthis book, you will learn the features of the C#language, and then use them to build applications running on the Microsoft Windows opera ing system.By the time you complete thisbook, you will have a thorough understanding of C#and wil have used it to build WindowsPresentation Foundation applications, access Microsoft SQLServer databases by using A DONET and LINQ, build responsive and scalable applications by using the TPL, and create RESTand SOAP Webservices by using WCF


《Visual C#2010从入门到精通(Microsoft Visual C# 2010 Step by Step)_John Sharp编著》目录

Intrducing Windws Presentatin Fundatin.

23Gathering UserInput.

24Perfrming Validatin.

Part V Managing Data

25Querying Infrmatin in a Database.

26Displaying and Editing Data by Using the Entity

Part VI Building Prfessinal Slutins with

Intrducing Micrsft Visual C#and Micrsft

2 Wrking with Variables, peratrs, and Expressins.

Framewrk and DataBinding.

VisualStudi 2010

27

Intrducing the Task Parallel Library.

28Perfrming Parallel Data Access.

29 Creating and Using a WebService.

Appendix

TablefCntents

Part l

What d yu think f this bk?We want t hear frm yu!

Interperating with Dynamic Languages,

Acknwledgments.

Intrductin.

VisualStudi 2010

1 Welcme t C#.

Beginning Prgramming with the VisualStudi 2010 Envirnment.3

Writing Yur First Prgram.8

Using Namespaces.14

Creating a Graphical Applicatin.17

Chapter 1 Quick Reference.26

Understanding Statements.27

Using Identifiers.28

Using Var ables.29

Wrking with Primitive DataTypes.31

Using Arithmetic peratrs.36

Identifying Keywrds.

Naming Variables.

Declaring Variables.

Unassigned Lcal Variables, .i

Displaying Primitive DataType Values.

peratrs and Types.

Examining Arithmetic peratrs.

Cntrlling Precedence.

Using Assciativity t Evaluate Expressins.

Assciativity and the Assignment peratr.

Micrsfts interet dinh eang yur feedback swecancntnuayiprvecur bks and lea mng

resurces fr yu, T participate in abn ef nline survey, please visit:

Incrementing and Decrementing Variables.

Declaring Implicitly Typed Lcal Variables.

Chapter 2 Quick Reference.

Crea ing Methds.

Applying Scpe..

Writing Methds.a.

Using ptinal Parameters and Named Arguments.

Chapter 3 Quick Reference.

Declaring Blean Variables.

Using Blean peratrs.

Using if Statements t Make Decisins

Using switch Statements.

Chapter 4 Quick Reference.

Understanding fr Statement Scpe

Unhandled Exceptins

Using Multiple catch Handlers.

Catching Multiple Exceptins

Writing Checked Statements.

Writing Checked Expressins.

Wrking with Cnstructrs.

verlading Cnstructrs.

Creating a Shared Field.-.

Creating asta ic Field by Using the cnst Keywrd.

Static Classes.

Prefix and Pstfix.

Declaring a Methd.

3 Writing Methds and Applying Scpe.

4 Using Decisin Statements.

Returning Data frm a Methd.

Calling Methds.

Specifying the Methd Call Syntax.

Defining Lcal Scpe.

Defining Class Scpe.

verlading Methds.

Defining ptinal Parameters.

Passing Named Arguments.

Reslving Ambiguities with ptinal Parameters and

Named Arguments

Understanding Equality and Relatinal peratrs.

Understanding Cnditinal Lgical peratrs.

Shrt Circuit ng.

Summarizing peratr Precedence and Assciativity

Understanding if Statement Syntax.

Using Blcks t Grup Statements.

Cascading if Statements.

Understanding switch Statement Syntax.

Fllwing the switch Statement Rules.

Annymus Classes.

5 Using Cmpund Assignment and Iteratin Statements . 91

6 Managing Errrs and Exceptins.109

Part I Understanding the C#Language

7 Creating and Managing Classes and bjects.129

Using Cmpund Assignment peratrs.

Writing while Statements.

Writing fr Statements.

Writing d Statements.

Chapter 5 Quick Reference.

Cping with Errrs.

Trying Cade and Catching Exceptins.

Using Checked and Unchecked Integer A rithm etc

Thrwing Exceptins.

Using a finally Blck.

Chapter 6 Quick Reference.

Understanding Classificatin.

The Purpse f Encapsulatin.

Defining and Using a Class.

Cntrling Accessiblity.

Understandings t tic Methds and Data.

Chapter 7 Quick Reference.

Cpying ValueType Van ables and Classes.

Understanding Null Values and Nullable Types.

Using ref and ut Parameters.

Hw Cmputer Memry Is rganized.

The System.bjectClass.

Bxing.-

Unbxing.

Casting Data Safely.

Chapter 8 Quick Reference.

Wrking with Enumeratins.

Wrking with Structures.

Chapter 9 Quick Reference.

What Is an Array?.

Creating an Implicitly Typed Array.

Accessing an Individual Array Element.

Iterating Thrugh an Array.

Cpying Arrays.a.

Using Multidimensinal Arrays.

Using Arrays t Play Cards.

The ArrayList Cllectin Class

The Queue Cllectin Class.

The Stck Cllectin Class

The Hashtable Cllectin Class.

The Srted List Cllectin Class.

Using Cllectin Initializers.

Cmparing Arrays and Cllectins.

Using Cllectin Classes t Play Cards.

Declaring apa rms Array.

Using params bject[] .

Using a params Array.

Calling BaseClass Cnstructrs.

Assigning Classes,

Declaring new Methds.

Declaring Virtual Methds,

Declaring verride Methds.

Understanding prtected Access.

Using Nullable Types.

Understanding the Prperties f Nullable Types.

Creating ref Parameters.

Creating ut Parameters.

Using the Stack and the Heap.

The is peratr.

The as peratr.

Declaring an Enumeratin.

Using an Enumeratin.-.

Chsing Enumeratin Literal Values.is

Chsing an Enumeratin's Underlying Type.

Declaring a Structure.

Understanding Structure and Class Differences.

Declaring Structure Variables.

Understanding Structure Initializatin, ,

Cpying Structure Variables.

Declaring Array Variables.

Creating an Array Instance.

Initializing Array Variables

9 Creating Value Types with Enumerat

计算机


python
AI人工智能
javascript
计算机网络/服务器
数据库技术
计算机F

考试教辅


考研考博
英语四六级

沪ICP备18046276号-5