Foreword
0.1 summary
Welcome to "Presenting C #". This book is a shortcut you improve your business programming language. Such enterprise programming languages have next-generation programming language service runtime (NGWS runtime): C # (pronounced "C Sharp").
NGWS Runtime is an dynamic environment that not only manages execution code, but also provides a dynamic environment that makes programming easier. The compiler produces managed code to point to this managed execution environment. You get cross-platform language integration, cross-platform language exception handling, enhance security, version control, arrangement support, and check-in service.
The main language supporting NGWS Runtime is C #. Many programs supporting the NGWS framework are written in C #, so in some compilers with NGWS Runtime, its compiler can be considered very testing and optimized. C # language draws on C , but has a modern and new type of security - making C # becomes the preferred language of the enterprise solution. 0.2 Who should read this book
If you are very strange to programming, this book is not suitable for you. This book is an attempt to let programmers will relieve and use C #, based on their already have knowledge. The goal of "displaying C #" is aimed at programmers already have experience in C / C , VB, Java or other programming.
If you have a c background, it will be easy to turn to C #, but if you are well traveled in other different languages, this book will take over some days. If you have a point COM programming, this will be more interesting, but COM programming is no longer necessary.
0.3 How to organize this book
Chapter 1 C # Introduction - This chapter takes you to C #, and answers questions about you should consider learning C #.
Chapter 2 Technical Basis of NGWS Runtime - Introducing NGWS Runtime to the low-level architecture provided by the C # code running.
Chapter III First C # Application - Create a real first C # app (otherwise what is it?), It is a "Hello World" application.
Chapter 4 C # Type - You can see various types used in the C # application. Explore the difference between value and reference type, how to fill boxes and boxes.
Chapter 5 Class - C # function is really powerful, it is an object-oriented programming. You will learn a lot of things, such as constructor, destructuring functions, methods, attributes, indexes, and events.
Chapter 6 Control Statement - Process Control is implemented. Explore the various options and statements provided by C #.
Chapter 7 Abnormal Processing - Gets the application skills that implements exception handling, with this technique, in the NGWS Runtime World, you are a good citizen
Chapter 8 uses C # write components - build components with C #, because support NGWS Runtime, which can be used by customers of different language platforms.
Chapter 9 Configuration and Arrangement - Learn how to compile work with C #, and how to automatically create documents for your C # source code. In addition, this chapter will introduce the version technical issues of NGWS.
Chapter 10 is interacting with non-managed code - finding how you use C # internal non-accomplished codes, and how non-managed code interacts with your C # components.
Chapter 11 C # Code Fire - Get the skills of using the SDK error control tool, you can accurately find errors in your application and modify them.
Chapter 12 Security - Explore the security concept of NGWS Runtime. Learn the code access security and role-based security.
0.4 What do you need to use this book?
From this book's view, what you need is the next generation of Windows service software development packs (NGWS SDK). Although at least as long as there is an NGWS runtime and a C # compiler, it is an excellent manner when the instruction file and all SDK tools (including debugger) are installed on one machine. idea.
This book does not need any tools for Visual Studio 7 on the machine. I only suggest you have an excellent program editor to edit the C # source file.
......
(Omitted some of the relevant publishing processes and expressing paragraphs) 0.5 about the author
Christoph Wille, Microsoft System Engineer (MCSE), Microsoft System Developer (MCSD), NetWare Network Administrator (CNA) and MCP-IT, as a network consultant and programmer, specially proficient in Windows DNA. Microsoft believes that he is the most valuable person (MVP) asp, he is one of the few developers of the early C # versions of Microsoft.
Christoph alone or participated in the writing of books, including SAMS Press, "self-study ADO2.5 21 days", "self-study ASP 24 hours", "self-study MCSE TCP / IP 14 days" and "MCSE Training Guide: SQL Server 7 management".