Programming C#

Bibliographic Information

Programming C#

Jesse Liberty

O'Reilly, 2002

2nd ed

Available at  / 3 libraries

Search this Book/Journal

Note

"Updated for VS. NET 1.0" -- Cover

Includes index

Description and Table of Contents

Description

C# was designed from the ground up for development on Microsoft's .NET framework. As such, it's a high-performance language that's simple, safe, object-oriented and Internet-centric. This volume teaches this new language by grounding its applications firmly in the context of Microsoft's .NET platform and the development of desktop and Internet applications. The first part of this book introduces C# fundamentals, then goes on to explain: classes and objects; inheritance and polymorphism; operator overloading; structs and interfaces; arrays, indexers, and collections; string objects and regular expressions; exceptions and bug handling; and delegates and events. Part two of the book focuses on development of desktop and Internet applications, including Windows Forms, ADO.NET and ASP.NET. ASP.NET includes Web Forms, for rapid development of Web applications, and Web Services for creating objects without user interfaces, to provide services over the Internet. Part three aims to get to the heart of the .NET Framework, focusing on attributes and reflection, remoting, threads and synchronization, and streams. It also illustrates how to inter-operate witH COM objects.

Table of Contents

Preface Part I. The C SHARP Language 1. C SHARP and the .NET Framework The .NET Platform The .NET Framework Compilation and the MSIL The C SHARP Language 2. Getting Started: "Hello World" Classes, Objects, and Types Developing "Hello World" Using the Visual Studio .NET Debugger 3. C SHARP Language Fundamentals Types Variables and Constants Expressions Whitespace Statements Operators Namespaces Preprocessor Directives 4. Classes and Objects Defining Classes Creating Objects Using Static Members Destroying Objects Passing Parameters Overloading Methods and Constructors Encapsulating Data with Properties Readonly Fields 5. Inheritance and Polymorphism Specialization and Generalization Inheritance Polymorphism Abstract Classes The Root of all Classes: Object Boxing and Unboxing Types Nesting Classes 6. Operator Overloading Using the operator Keyword Supporting Other .NET Languages Creating Useful Operators Logical Pairs The Equals Operator Conversion Operators 7. Structs Defining Structs Creating Structs 8. Interfaces Implementing an Interface Accessing Interface Methods Overriding Interface Implementations Explicit Interface Implementation 9. Arrays, Indexers, and Collections Arrays The foreach Statement Indexers Collection Interfaces Array Lists Queues Stacks Dictionaries 10. Strings and Regular Expressions Strings Regular Expressions 11. Handling Exceptions Throwing and Catching Exceptions Exception Objects Custom Exceptions Rethrowing Exceptions 12. Delegates and Events Delegates Events Part II. Programming with C SHARP 13. Building Windows Applications Creating a Simple Windows Form Creating a Windows Form Application XML Documentation Comments Deploying an Application 14. Accessing Data with ADO.NET Relational Databases and SQL The ADO.NET Object Model Getting Started with ADO.NET Using OLE DB Managed Providers Working with Data-Bound Controls Changing Database Records ADO.NET and XML 15. Programming Web Applications with Web Forms Understanding Web Forms Creating a Web Form Adding Controls Data Binding Responding to Postback Events ASP.NET and C SHARP 16. Programming Web Services SOAP, WSDL, and Discovery Building a Web Service Creating the Proxy Part III. The CLR and the .NET Framework 17. Assemblies and Versioning PE Files Metadata Security Boundary Versioning Manifests Multi-Module Assemblies Private Assemblies Shared Assemblies 18. Attributes and Reflection Attributes Intrinsic Attributes Custom Attributes Reflection Reflection Emit 19. Marshaling and Remoting Application Domains Context Remoting 20. Threads and Synchronization Threads Synchronization Race Conditions and Deadlocks 21. Streams Files and Directories Reading and Writing Data Asynchronous I/O Network I/O Web Streams Serialization Isolated Storage 22. Programming .NET and COM Importing ActiveX Controls Importing COM Components Exporting .NET Components P/Invoke Pointers Appendix: C SHARP Keywords Index

by "Nielsen BookData"

Details

  • NCID
    BA58916237
  • ISBN
    • 0596003099
  • Country Code
    cc
  • Title Language Code
    eng
  • Text Language Code
    eng
  • Place of Publication
    Beijing ; Tokyo
  • Pages/Volumes
    xviii, 629 p.
  • Size
    24 cm
  • Classification
  • Subject Headings
Page Top