1 option
C# in a nutshell : a desktop quick reference / Peter Drayton, Ben Albahari & Ted Neward.
LIBRA QA76.73.C154 D73 2002
Available from offsite location
- Format:
- Book
- Author/Creator:
- Drayton, Peter.
- Series:
- Nutshell handbook
- A Nutshell handbook
- Language:
- English
- Subjects (All):
- C# (Computer program language).
- Physical Description:
- xxii, 832 pages : illustrations ; 23 cm.
- Place of Publication:
- Sebastopol, CA : O'Reilly, 2002.
- Summary:
- Designed as a primary reference to be used daily, "C# in a Nutshell also includes the essential background information to become productive quickly. Not a "how-to" book or a rehash of Microsoft's documentation, this book goes to the source of the language and APIs to present the content in a way that professional programmers will value above all other books. "C# in a Nutshell is a comprehensive language reference and also presents the .NET Framework using C# examples. Additionally, it is an extensive and quick reference to the API, featuring the System namespace. Particularly useful are the many figures and tables that present the main features of the namespace. Every once in a while, a book becomes the de-facto standard for a technology, operating system, or programming language--which is exactly what "C# in a Nutshell aims to do in a single straightforward and easy-to-use volume.
- Contents:
- Part I Programming with C#
- Chapter 1 Introducing C# and the .NET Framework 3
- The C# Language 4
- The .NET Framework 7
- ECMA Standardization 11
- Chapter 2 C# Language Basics 13
- A First C# Program 13
- Identifiers and Keywords 14
- Type Basics 15
- Value Types and Reference Types 18
- Predefined Types 23
- Arrays 28
- Variables and Parameters 30
- Expressions and Operators 32
- Statements 35
- Namespaces 42
- Chapter 3 Creating Types in C# 45
- Classes 45
- Inheritance 55
- Access Modifiers 61
- Structs 63
- Interfaces 63
- Enums 66
- Chapter 4 Advanced C# Features 68
- Delegates 68
- Delegates Versus Function Pointers 70
- Delegates Versus Interfaces 70
- Events 70
- Operator Overloading 73
- Try Statements and Exceptions 76
- Attributes 79
- Unsafe Code and Pointers 81
- Preprocessor Directives 84
- XML Documentation 85
- Part II Programming with the .NET Framework
- Chapter 5 Framework Class Library Overview 95
- Core Types 95
- Text 96
- Collections 96
- Streams and I/O 96
- Networking 97
- Threading 97
- Security 97
- Reflection and Metadata 98
- Assemblies 98
- Serialization 98
- Remoting 98
- Web Services 99
- Data Access 99
- XML 100
- Graphics 100
- Rich Client Applications 100
- Web-Based Applications 100
- Globalization 101
- Configuration 101
- Advanced Component Services 101
- Diagnostics and Debugging 102
- Interoperating with Unmanaged Code 102
- Compiler and Tool Support 102
- Runtime Facilities 103
- Native OS Facilities 103
- Undocumented Types 103
- Chapter 6 String Handling 105
- String Class 105
- StringBuilder Class 108
- Regular Expression Support 108
- Regular Expression Basics 110
- Procedural- and Expression-Based Patterns 112
- Cookbook Regular Expressions 113
- Chapter 7 Collections 117
- Iterating Over Collections 117
- Standard Collection Interfaces 121
- Predefined Collection Classes 122
- Ordering Instances 125
- Generating Hash Code 127
- Chapter 8 XML I/O 129
- Accessing XML Documents 129
- Parsing an XML Stream 132
- Selecting Nodes Using XPath 133
- Transforming a Document Using XSLT 135
- Chapter 9 Networking 138
- Network Programming Models 138
- Generic Request/Response Architecture 138
- HTTP-Specific Support 139
- WebClient 140
- Adding New Protocol Handlers 140
- Using TCP, UDP, and Sockets 140
- Using DNS 142
- Chapter 10 Streams and I/O 143
- Streams and Backing Stores 143
- Encapsulating Raw Streams 145
- Directories and Files 147
- Isolated Storage 150
- Chapter 11 Serialization 153
- What Is Serialization? 153
- Serialization Support in the Framework 154
- Explicit Serialization 154
- Implicit Serialization 155
- [Serializable] 156
- [NonSerialized] 157
- IDeserializationCallback 157
- ISerializable 158
- [Serializable] and ISerializable 159
- Chapter 12 Assemblies 162
- Elements of an Assembly 162
- Assemblies and Modules 163
- Scoping Types and Type References 163
- Naming and Signing Assemblies 164
- Resolving and Loading Assemblies 166
- Deployment 167
- Security Permissions 167
- Chapter 13 Reflection 169
- Type Hierarchy 169
- Types, Members, and Nested Types 170
- Retrieving the Type for an Instance 171
- Retrieving a Type Directly 171
- Reflecting Over a Type Hierarchy 172
- Late Binding 172
- Advanced Uses of Reflection 174
- Creating New Types at Runtime 175
- Chapter 14 Custom Attributes 177
- Language Support 177
- Compiler Support 177
- Runtime Support 178
- Predefined Attributes 179
- Defining a New Custom Attribute 181
- Retrieving a Custom Attribute at Runtime 182
- Chapter 15 Memory Management 184
- The Garbage Collector 184
- Optimization Techniques 185
- Finalizers 186
- Dispose and Close Methods 186
- Chapter 16 Threading 188
- Thread Synchronization 188
- Common Thread Types 191
- Asynchronous Delegates 192
- Chapter 17 Integrating with Native DLLs 194
- Calling Into DLLs 194
- Marshaling Common Types 195
- Marshaling Classes and Structs 195
- In and Out Marshaling 196
- Callbacks from Unmanaged Code 197
- Simulating a C Union 197
- Mapping a Struct to a Binary Format 199
- Predefined Interop Support Attributes 201
- Chapter 18 Integrating with COM Components 204
- Binding COM and C# Objects 204
- Exposing COM Objects to C# 204
- Exposing C# Objects to COM 205
- COM Mapping in C# 206
- Common COM Interop Support Attributes 207
- COM+ Support 207
- Chapter 19 Diagnostics 210
- Logging and Assertion Facilities 210
- Conditional Compilation 212
- Debugger Integration 213
- Processes, Threads, and Stacks 213
- Event Logs 216
- Performance Counters 218
- Part III Language and Tools Reference
- Chapter 20 C# Language Reference 223
- Chapter 21 XML Documentation Tag Reference 231
- Chapter 22 C# Naming and Coding Conventions 234
- Case 234
- Mechanics 236
- Word Choice 237
- Namespaces 238
- Chapter 23 C# Development Tools 239
- Part IV API Quick Reference
- Chapter 24 How to Use This Quick Reference 275
- Finding a Quick-Reference Entry 275
- Reading a Quick-Reference Entry 276
- Chapter 25 Microsoft.Win32 281
- Chapter 26 System 290
- Chapter 27 System.Collections 384
- Chapter 28 System.Collections.Specialized 399
- Chapter 29 System.Diagnostics 407
- Chapter 30 System.Globalization 445
- Chapter 31 System.IO 464
- Chapter 32 System.IO.IsolatedStorage 491
- Chapter 33 System.Net 496
- Chapter 34 System.Net.Sockets 524
- Chapter 35 System.Reflection 536
- Chapter 36 System.Reflection.Emit 572
- Chapter 37 System.Runtime.InteropServices 601
- Chapter 38 System.Runtime.Serialization 627
- Chapter 39 System.Runtime.Serialization.Formatters 638
- Chapter 40 System.Text 643
- Chapter 41 System.Text.RegularExpressions 650
- Chapter 42 System.Threading 657
- Chapter 43 System.Timers 674
- Chapter 44 System.Xml 677
- Chapter 45 System.Xml.XPath 711
- Chapter 46 System.Xml.Xsl 718
- Appendix A Regular Expressions 725
- Appendix B Format Specifiers 729
- Appendix C Data Marshaling 735
- Appendix D C# Keywords 737
- Appendix E Namespaces and Assemblies 743
- Appendix F Type, Method, Property, Event, and Field Index 749.
- ISBN:
- 0596001819
- OCLC:
- 230740451
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.