C#程序员教程:英文版

C#程序员教程:英文版
作 者: Deitel
出版社: 电子工业出版社
丛编项: 国外计算机科学教材系列
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: C#
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

  作者:DEITELHarveyM.Deitel,世界一流的计算机科学教员和研计会演讲人;PaulJ.Deitel,国际知名的教育家HarveyM.Deitel博士是Deitel&Associates公司总裁,有着40余年计算机领域的工作经验,进行了大量深入的教学研究,是世界一流的计算机科学教员和研计会演讲人。HarveyM.Deitel持有麻省理工学院学士、硕士学位和波士顿大学博士学位。他曾经在IBM和MIT的虚拟内存操作系统项目中从事研究工作,开发出在很多系统中广泛实现的技术。他还有20多年大学教学经验,取得过“教育特别津贴”。也是全球知名的计算机教材作者。其作品已被翻译成日、俄、中文(繁简)、韩、法、西班牙等语言。PaulJ.Deitel是Deitel&Associates公司执行副总裁,是麻省理工学院Sloun管理学校的毕业生。主修信息技术,通过Deitel&Associates公司他已经为DigitalEquipmentCorporation......等多家公司的客户提供Java、C和C++课程的教学活动,并曾为计算机协会波士顿分会授Java和C++语言,还通过卫星直播Java课程。VisualBasic.NET2003大学简明教程:实例程序设计>>更多作品

内容简介

本书首先简要介绍了C#基础知识,然后很快进入C#高级主题的讨论,这些主题包括:Windows表单,ADO.NET,ASP.NET,ASP.NETWeb服务,网络编程和XML处理。通过本书的学习,读者将获得构建下一代Windows应用、Web应用和XMLWeb服务的全部知识。本书是为具有C++、VisualBasic、Java或其他一些高级语言基础的编程人员撰写的教程。书中运用Live-Code方法教授编程技巧并对C#进行了深入的探讨。本书首先简要介绍了C#基础知识,然后很快进入C#高级主题的讨论,这些主题包括:Windows表单,ADO.NET,ASP.NET,ASP.NETWeb服务,网络编程和XML处理。通过本书的学习,读者将获得构建下一代Windows应用、Web应用和XMLWeb服务的全部知识。本书可作为大专院校的教材,也适用于使用C#进行软件开发的广大技术人员。

图书目录

Chapter1Introductionto.NETandC#

1.1Introduction

1.2HistoryoftheIntemetandWorldWideWeb

1.3WorldWideWebConsortium(W3C)

1.4ExtensibleMarkupLanguage(XML)

1.5KeySoftwareTrend:ObjectTechnology

1.6IntroductiontoMicrosoft.NET

1.7C#

1.8.NETFrameworkandtheCommonLanguageRuntime

1.9TouroftheBook

1.10Summary

1.11InternetandWorldWideWebResources

Chapter2IntroductiontotheVisualStudio.NETIDEandC#Programming

2.1Introduction

2.2VisualStudio.NETIntegratedDevelopmentEnvironment(IDE)Overview

2.3MenuBarandToolbar

2.4VisualStudio.NETWindows

2.5UsingHelp

2.6SimpleProgram:DisplayingTextandanImage

2.7SimpleProgram:PrintingaLineofText

2.8Arithmetic

2.9DecisionMaking:EqualityandRelationalOperators

2.10Summary

Chapter3ControlStructures

3.1Introduction

3.2ControlStructures

3.3ifSelectionStructure

3.4if/elseSelectionStructure

3.5whileRepetitionStructure

3.6AssigmnentOperators

3.7IncrementandDecrementOperators

3.8forRepetitionStructure

3.9Example:UsingtheforStructuretoComputeCompoundInterest

3.10switchMultiple-SelectionStructure

3.11do/whileRepetitionStructure

3.12Statementsbreakandcontinue

3.13LogicalandConditionalOperators

3.14IntroductiontoWindowsApplicationProgramming

3.15Summary

Chapter4MethodsandArrays

4.1Introduction

4.2MethodsinC#

4.3MethodDefinitions

4.4ArgumentPromotion

4.5C#Namespaces

4.6ValueTypesandReferenceTypes

4.7PassingArguments:Pass-by-Valuevs.Pass-by-ReferenCe

4.8ScopeRules

4.9Recursion

4.10MethodOverloading

4.11Arrays

4.12DeclaringandAllocatingArrays

4.13PassingArraystoMethods

4.14PassingArraysbyValueandbyReference

4.15Multiple-SubscriptedArrays

4.16foreachRepetitionStructure

4.17Summary

Chapter5Object-BasedProgramming

5.1Introduction

5.2ImplementingaTimeAbstractDataTypewithaClass

5.3ClassScope

5.4ControllingAccesstoMembers

5.5InitializingClassObjects:Constructors

5.6UsingOverloadedConstructors

5.7Properties

5.8Composition:ObjectsReferencesasInstanceVariablesofOtherClasses

5.9UsingthethisReference

5.10GarbageCollection

5.11staticClassMembers

5.12constandreadonlyMembers

5.13Indexers

5.14DataAbstractionandInformationHiding

5.15SoftwareReusability

5.16NamespacesandAssemblies

5.17ClassViewandObjectBrowser

5.18Summary

Chapter6Object-OrientedProgramming:Inheritance

6.1Introduction

6.2BaseClassesandDerivedClasses

6.3protectedandinternalMembers

6.4RelationshipbetweenBaseClassesandDerivedClasses

6.5CaseStudy:Three-LevelInheritanceHierarchy

6.6ConstructorsandDestructorsinDerivedClasses

6.7SoftwareEngineeringwithInheritance

6.8Summary

Chapter7Object-OrientedProgramming:Polymorphism

7.1Introduction

7.2Derived-Class-ObjecttoBase-Class-ObjectConversion

7.3TypeFieldsandswitchStatements

7.4PolymorphismExamples

7.5AbstractClassesandMethods

7.6Example:InheritingInterfaceandImplementation

7.7sealedClassesandMethods

7.8Example:PayrollSystemUsingPolymorphism

7.9Example:CreatingandUsingInterfaces

7.10Delegates

7.11OperatorOverloading

7.12Summary

Chapter8ExceptionHandling

8.1Introduction

8.2ExceptionHandlingOverview

8.3Example:DivideByZeroException

8.4.NETExceptionHierarchy

8.5finallyBlock

8.6ExceptionProperties

8.7Programmer-Del'reedExceptionClasses

8.8HandlingOverflowswithOperatorscheckedandunchecked

8.9Summary

Chapter9GraphicalUserInterfaceConcepts:Part1

9.1Introduction

9.2WindowsForms

9.3Event-HandlingModel

9.4ControlPropertiesandLayout

9.5Labels,TextBoxesandButtons

9.6GroupBoxesandPanels

9.7CheckBoxesandRadioButtons

9.8PictureBoxes

9.9MouseEventHandling

9.10KeyboardEventHandling

9.11Summary

Chapter10GraphicalUserInterfaceConcepts:Part2

10.1Introduction

10.2Menus

10.3LinkLabels

10.4ListBoxesandCheckedListBoxes

10.5ComboBoxes

10.6TreeViews

10.7ListViews

10.8TabControl

10.9Multiple-Document-Interface(MDI)Windows

10.10VisualInheritance

10.11User-DefinedControls

10.12Summary

Chapter11Multithreading

11.1Introduction

11.2ThreadStates:LifeCycleofaThread

11.3ThreadPrioritiesandThreadScheduling

11.4ThreadSynchronizationandClassMonitor

11.5Producer/ConsumerRelationshipwithoutThreadSynchronization

11.6Producer/ConsumerRelationshipwithThreadSynchronization

11.7Producer/ConsumerRelationship:CircularBuffer

11.8Summary

Chapter12Strings,CharactersandRegularExpressions

12.1Introduction

12.2FundamentalsofCharactersandStrings

12.3StringConstructors

12.4StringIndexer,LengthPropertyandCopyTo

12.5ComparingStrings

12.6StringMethodGetHashCode

12.7LocatingCharactersandSubstringsinStrings

12.8ExtractingSubstringsfromStrings

12.9ConcatenatingStrings

12.10MiscellaneousStringMethods

12.11ClassStringBuilder

12.12StringBuilderIndexer,LengthandCapacityProperties,andEnsureCapacityMethod

12.13StringBuilderAppendandAppendFormatMethods

12.14StringBuilderInsert,RemoveandReplaceMethods

12.15CharMethods

12.16CardShufflingandDealingSimulation

12.17RegularExpressionsandClassRegex

12.18Summary

Chapter13GraphicsandMultimedia

13.1Introduction

13.2GraphicsContextsandGraphicsObjects

13.3ColorControl

13.4FontControl

13.5DrawingLines,RectanglesandOvals

13.6DrawingArcs

13.7DrawingPolygonsandPolylines

13.8AdvancedGraphicsCapabilities.

13.9IntroductiontoMultimedia

13.10Loading,DisplayingandScalingImages

13.11AnimatingaSeriesofImages

13.12WindowsMediaPlayer

13.13MicrosoftAgent

13.14Summary

Chapter14FilesandStreams

14.1Introduction

14.2DataHierarchy

14.3FilesandStreams

14.4ClassesFileandDirectory

14.5CreatingaSequential-AccessFile

14.6ReadingDatafromaSequential-AccessFile

14.7Random-AccessFiles

14.8CreatingaRandom-AccessFile

14.9WritingDataRandomlytoaRandom-AccessFile

14.10ReadingDataSequentiallyfromaRandom-AccessFile

14.11CaseStudy:ATransaction-ProcessingProgram

14.12Summary

Chapter15ExtensibleMarkupLanguage(XML)

15.1Introduction

15.2XMLDocuments

15.3XMLNamespaces

15.4DocumentObjectModel(DOM)

15.5DocumentTypeDefinitions(DTDs),SchemasandValidation

15.6ExtensibleStylesheetLanguageandXslTransform

15.7MicrosoftBizTalkTM

15.8Summary

15.9IntemetandWorldWideWebResources

Chapter16Database,SQLandADO.NET

16.1Introduction

16.2RelationalDatabaseModel

16.3RelationalDatabaseOverview:BooksDatabase

16.4StructuredQueryLanguage(SQL)

16.5ADO.NETObjectModel

16.6ProgrammingwithADO.NET:ExtractingInformationfromaDatabase

16.7ProgrammingwithADO.NET:ModifyingaDatabase

16.8ReadingandWritingXMLFiles

16.9Summary

Chapter17ASP.NET,WebFormsandWebControls

17.1Introduction

17.2SimpleHTtPTransaction

17.3SystemArchitecture

17.4CreatingandRunningaSimpleWebFormExample

17.5WebControls

17.6SessionTracking

17.7CaseStudy:OnlineGuestBook

17.8CaseStudy:ConnectingtoaDatabaseinASP.NET

17.9Tracing

17.10Summary

17.11IntemetandWebResources

Chapter18ASP.NETandWebServices

18.1Introduction

18.2WebServices

18.3SimpleObjectAccessProtocol(SOAP)andWebServices

18.4PublishingandConsumingWebServices

18.5SessionTrackinginWebServices

18.6UsingWebFormsandWebServices

18.7CaseStudy:TemperatureInformationApplication

18.8User-DefinedTypesinWebServices

18.9Summary

Chapter19Networking:Streams-BasedSocketsandDatagrams

19.1Introduction

19.2EstablishingaSimpleServer(UsingStreamSockets)

19.3EstablishingaSimpleClient(UsingStreamSockets)

19.4Client/ServerInteractionwithStream-SocketConnections

19.5ConnectionlessClient/ServerInteractionwithDatagrams

19.6Client/ServerTic-Tac-ToeUsingaMnltithreadedServer

19.7Summary

Chapter20DataStructuresandCollections

20.1Introduction

20.2Self-ReferentialClasses

20.3LinkedLists

20.4Stacks

20.5Queues

20.6Trees

20.7CollectionClasses

20.8Summary

Chapter21Accessibility

21.1Introduction

21.2RegulationsandResources

21.3WebAccessibilityInitiative

21.4ProvidingAlternativesforImages

21.5MaximizingReadabilitybyFocusingonStructure

21.6AccessibilityinVisualStudio.NET

21.7AccessibilityinC#

21.8AccessibilityinXHTMLTables

21.9AccessibilityinXHTMLFrames

21.10AccessibilityinXML

21.11UsingVoiceSynthesisandRecognitionwithVoiceXMLTM

21.12CallXMLTM

21.13JAWSforWindows

21.14OtherAccessibilityTools

21.15AccessibilityinMicrosoftWindows2000

21.16Summary

21.17InternetandWebResources

Chapter22MobileInternetToolkit

22.1Introduction

22.2MobileIntemetToolkitClientDevices

22.3IntroductiontotheMobileIntemetToolkitandMobileWebForms

22.4AdvancedMobileWebFormsControls

22.5Example:DeitelWirelessPortal

22.6Device-IndependentWebDesignUsingStyleSheetsandTemplates

22.7ConsumingaWebServicefromaMobileApplication

22.8Summary

22.9InternetandWorldWideWebResources

AppendixAOperatorPrecedenceChart

AppendixBNumberSystems

AppendixCCareerOpportunities

AppendixDVisualStudio.NETDebugger

AppendixEGeneratingDocumentationinVisualStudio.NET

AppendixFASCIICharacterSet

AppendixGUnicode

AppendixHCOMIntegration

AppendixIIntroductiontoHyperTextMarkupLanguage4:Part1

AppendixJIntroductiontoHyperTextMarkupLanguage4:Part2

AppendixKIntroductiontoXHTML:Part1

AppendixLIntroductiontoXHTML:Part2

AppendixMHTML/XHTMLSpecialCharacters

AppendixNHTML/XHTMLColors

AppendixOBitManipulation

AppendixPCrystalReportsforVisualStudio.NET

Bibliography