Read more
Concise but thorough, this second edition of C-sharp Essentials introduces the Microsoft C-sharp programming language, including the Microsoft .NET Common Language Runtime (CLR) and .NET Framework Class Libraries (FCL) that support it. This book?s compact format and terse presentation of key concepts serve as a roadmap to the online documentation included with the Microsoft .NET Framework SDK; the many examples provide much-needed context.
This new edition has been updated to cover the final release of the C-sharp language. In addition to overviews of C-sharp, the CLR, and the FCL, this new edition of C-sharp Essentials covers: Every C-sharp language element and its syntax, in reference format, including new keywords - The major C-sharp datatypes, with code examples - Common C-sharp programming tasks - Interoperation with legacy Win32 APIs and COM components, and the use of C/C++ style pointers within the managed context of the CLR - Common development issues.
C-sharp Essentials is an easy way for experienced programmers to evaluate and get up to speed quickly on the language best suited to developing web applications and services on the new Microsoft .NET platform.
List of contents
Preface;
Audience;
About This Book;
C# Online;
Conventions Used in This Book;
How to Contact Us;
Acknowledgments;
Chapter 1: Introduction;
1.1 C# Language;
1.2 Common Language Runtime;
1.3 Framework Class Library;
1.4 A First C# Program;
Chapter 2: C# Language Reference;
2.1 Identifiers;
2.2 Types;
2.3 Variables;
2.4 Expressions and Operators;
2.5 Statements;
2.6 Organizing Types;
2.7 Inheritance;
2.8 Access Modifiers;
2.9 Classes and Structs;
2.10 Interfaces;
2.11 Arrays;
2.12 Enums;
2.13 Delegates;
2.14 Events;
2.15 try Statements and Exceptions;
2.16 Attributes;
2.17 Unsafe Code and Pointers;
2.18 Preprocessor Directives;
2.19 XML Documentation;
Chapter 3: Programming the.NET Framework;
3.1 Common Types;
3.2 Math;
3.3 Strings;
3.4 Collections;
3.5 Regular Expressions;
3.6 Input/Output;
3.7 Networking;
3.8 Threading;
3.9 Assemblies;
3.10 Reflection;
3.11 Custom Attributes;
3.12 Automatic Memory Management;
3.13 Interop with Native DLLs;
3.14 Interop with COM;
Chapter 4: Framework Class Library Overview;
4.1 Core Types;
4.2 Text;
4.3 Collections;
4.4 Streams and I/O;
4.5 Networking;
4.6 Threading;
4.7 Security;
4.8 Reflection and Metadata;
4.9 Assemblies;
4.10 Serialization;
4.11 Remoting;
4.12 Web Services;
4.13 Data Access;
4.14 XML;
4.15 Graphics;
4.16 Rich Client Applications;
4.17 Web-Based Applications;
4.18 Globalization;
4.19 Configuration;
4.20 Advanced Component Services;
4.21 Diagnostics and Debugging;
4.22 Interoperating with Unmanaged Code;
4.23 Compiler and Tool Support;
4.24 Runtime Facilities;
4.25 Native OS Facilities;
4.26 Undocumented Types;
Chapter 5: Essential .NET Tools;
C# Keywords;
Regular Expressions;
Format Specifiers;
Picture Format Specifiers;
DateTime Format Specifiers;
Data Marshaling;
Working with Assemblies;
Building Shareable Assemblies;
Managing the Global Assembly Cache;
Using nmake;
Namespaces and Assemblies;
Colophon;
About the author
Ben Albahari is the founder of Take On It. He was a Program Manager at Microsoft for 5 years, where he worked on several projects, including the .NET Compact Framework and ADO.NET.He was the cofounder of Genamics, a provider of tools for C sharp and J++ programmers, as well as software for DNA and protein sequence analysis. He is a co-author of C sharp Essentials, the first C sharp book from O'Reilly, and of previous editions of C sharp in a Nutshell.
Summary
This volume introduces the Microsoft C# programming language, including the Microsoft .NET Common Language Runtime (CLR) and .NET Framework Class Libraries (FCL) that support it. This book's key concepts serve as a roadmap to the online documentation included with the Microsoft .NET Framework SDK.