C#外文翻译
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
C# Programming for the Beginner Welcome to C# and the world of Windows, Internet and World-Wide-Web programming
with Visual Studio and the .NET platform! This book is the second in our new .NET How
to Program series, which presents various leading-edge computing technologies in the con-
text of the .NET platform.
C# is the next phase in the evolution of C and C++ and was developed expressly forMicrosoft’s .NET platform. C# provides the featu res that are most important to program-mers,suchasobject-orientedprogramming,strings,graphics,graphical-user-inte rface(GUI) components, exception handling, multithreading, multimedia (audio, images, ani-mation and video), file processing, prepackaged data structures, database processing,Internet and World-Wide-Web-based client/server networking and distributed computing.The language is appropriate for implementing Internet- and World-Wide-Web-based appli-cations that seamlessly integrate with PC-based applications. The .NET platform offers powerful capabilities for software development and deploy-ment, including independence from a specific language or platform. Rather than requiringdevelopers to learn a new programming language, programmers can contribute to the samesoftware project, but write code using any (or several) of the .NET languages (such as C#,Visual Basic .NET, Visual C++ .NET and others) with which they are most competent. Inaddition to providing language independence, .NET extends program portability byenabling .NET applications to reside on, and communicate across, multiple platforms—thus facilitating the delivery of Web services over the Internet. The .NET platform enablesWeb-based applications to be distributed to consumer-electronic devices, such as cellPrefaceXXXIXphones and personal digital assistants, as well as to desktop computers. The capabilities thatMicrosoft has incorporated into the .NET platform create a new software-development par-adigm that will increase
programmer productivity and decrease development time.New Features in C# How to ProgramThis edition contains many new features and enhancements, including: Full-Color Presentation. This book is now in full color. Full color enables readersto see sample outputs as they would appear on a color monitor. Also, we now syn-tax color the C# code, similar to the way Visual Studio .NET colors the code in itseditor window. Our syntax-coloring conventions are as follows:comments appear in greenkeywords appear in dark blueliteral values appear in light bluetext, class, method and variable names appear in blackerrors and ASP .NET directives appear in red
“Code Washing.” This is our term for the process we use to format the programsin the book so that they have a carefully commented, open layout. The code ap-pears in full color and is grouped into small, well-documented pieces. This greatlyimproves code readability—an especially important goal for us, considering thatthis book contains approximately 23,500 lines of code.
Web Services and ASP .NET. Microsoft’s .NET strategy embraces the Internetand Web as integral to the software development and deployment processes. Webservices—a key technology in this strategy—enables information sharing, com-merce and other interactions using standard Internet protocols and technologies,such as HypertextTransfer Protocol (HTTP), Simple Objec tAccess Protocol(SOAP) and Extensible Markup Language (XML). Web services enable program-mers to package application functionality in a form that turns the Web into a li-brary of reusable software components. In Chapter 21, ASP .NET and WebServices, we present a Web service that allows users to make airline seat reserva-tions. In this example, a user accesses a Web page, chooses a seating option andsubmits the page to the Web server. The page then calls a Web service that checksseat availability. We also present information related to Web services in AppendixP, Crystal Reports® for Visual Studio® .NET, which discusses popular reportingsoftware for database-intensive applications. Crystal Reports, which is integratedinto Visual Studio .NET, provides the ability to expose a report as a Web service.The appendix provides introductory information and directs readers to a