Flylib.com
C# 2.0: The Complete Reference (Complete Reference Series)
C# 2.0: The Complete Reference (Complete Reference Series)
ISBN: 0072262095
EAN: 2147483647
Year: 2006
Pages: 300
Authors:
Herbert Schildt
BUY ON AMAZON
Table of Contents
Back Cover
C 2.0The Complete Reference, Second Edition
Preface
A Book for All Programmers
Required Software
Dont Forget: Code on the Web
For Further Study
Part I: The C Language
Chapter 1: The Creation of C
How C Relates to the .NET Framework
How the Common Language Runtime Works
Managed vs. Unmanaged Code
Chapter 2: An Overview of C
A First Simple Program
Handling Syntax Errors
A Small Variation
A Second Simple Program
Another Data Type
Two Control Statements
Using Blocks of Code
Semicolons, Positioning, and Indentation
The C Keywords
Identifiers
The C Class Library
Chapter 3: Data Types, Literals, and Variables
Cs Value Types
Integers
Floating-Point Types
The decimal Type
Characters
The bool Type
Some Output Options
Literals
A Closer Look at Variables
The Scope and Lifetime of Variables
Type Conversion and Casting
Type Conversion in Expressions
Chapter 4: Operators
Relational and Logical Operators
The Assignment Operator
The Bitwise Operators
The ? Operator
Spacing and Parentheses
Operator Precedence
Chapter 5: Program Control Statements
The switch Statement
The for Loop
The while Loop
The do-while Loop
The foreach Loop
Using break to Exit a Loop
Using continue
The goto
Chapter 6: Introducing Classes and Objects
How Objects are Created
Reference Variables and Assignment
Methods
Constructors
The new Operator Revisited
Garbage Collection and Destructors
The this Keyword
Chapter 7: Arrays and Strings
Multidimensional Arrays
Jagged Arrays
Assigning Array References
Using the Length Property
The foreach Loop
Strings
Chapter 8: A Closer Look at Methods and Classes
Pass References to Methods
Using ref and out Parameters
Using a Variable Number of Arguments
Returning Objects
Method Overloading
Overloading Constructors
The Main( ) Method
Recursion
Understanding static
Static Classes
Chapter 9: Operator Overloading
Operator Overloading Fundamentals
Handling Operations on C Built-In Types
Overloading the Relational Operators
Overloading true and false
Overloading the Logical Operators
Conversion Operators
Operator Overloading Tips and Restrictions
Another Example of Operator Overloading
Chapter 10: Indexers and Properties
Properties
Using Access Modifiers with Accessors
Using Indexers and Properties
Chapter 11: Inheritance
Member Access and Inheritance
Constructors and Inheritance
Inheritance and Name Hiding
Creating a Multilevel Hierarchy
When are Constructors Called?
Base Class References and Derived Objects
Virtual Methods and Overriding
Using Abstract Classes
Using Sealed to Prevent Inheritance
The Object Class
Chapter 12: Interfaces, Structures, and Enumerations
Using Interface References
Interface Properties
Interface Indexers
Interfaces can be Inherited
Name Hiding with Interface Inheritance
Explicit Implementations
Choosing between an Interface and an Abstract Class
The .NET Standard Interfaces
An Interface Case Study
Structures
Enumerations
Chapter 13: Exception Handling
The System.Exception Class
Exception Handling Fundamentals
The Consequences of an Uncaught Exception
Exceptions Let You Handle Errors Gracefully
Using Multiple catch Statements
Catching All Exceptions
Nesting try Blocks
Throwing an Exception
Using finally
A Closer Look at Exception
Deriving Exception Classes
Catching Derived Class Exceptions
Using checked and unchecked
Chapter 14: Using IO
The Stream Classes
Console IO
FileStream and Byte-Oriented File IO
Character-Based File IO
Redirecting the Standard Streams
Reading and Writing Binary Data
Random Access Files
Using MemoryStream
Using StringReader and StringWriter
Converting Numeric Strings to Their Internal Representation
Chapter 15: Delegates and Events
Events
NET Event Guidelines
Using Anonymous Methods with Events
Applying Events: A Case Study
Chapter 16: Namespaces, the Preprocessor, and Assemblies
The Preprocessor
Assemblies and the internal Access Modifier
Chapter 17: Runtime Type ID, Reflection, and Attributes
Reflection
Using Reflection
Attributes
Three Built-in Attributes
Chapter 18: Generics
A Simple Generics Example
A Generic Class with Two Type Parameters
The General Form of a Generic Class
Constrained Types
Creating a Default Object of a Type Parameter
Generic Structures
Creating a Generic Method
Generic Delegates
Generic Interfaces
Comparing Instances of a Type Parameter
Generic Class Hierarchies
Overriding Virtual Methods in a Generic Class
Overloading Methods That Use Type Parameters
How Generic Types Are Instantiated
Some Generic Restrictions
Final Thoughts on Generics
Chapter 19: Unsafe Code, Pointers, Nullable Types, and Miscellaneous Topics
Pointers and Arrays
Nullable Types
Partial Class Definitions
Friend Assemblies
Miscellaneous Keywords
Part II: Exploring the C Library
Chapter 20: Exploring the System Namespace
The Math Class
The .NET Structures Corresponding to the Built-in Value Types
The Array Class
BitConverter
Generating Random Numbers with Random
Memory Management and the GC Class
Object
The IComparable and IComparableT Interfaces
The IConvertible Interface
The ICloneable Interface
IFormatProvider and IFormattable
The IEquatableT Interface
Chapter 21: Strings and Formatting
The String Class
Formatting
Using String.Format( ) and ToString( ) to Format Data
Creating a Custom Numeric Format
Formatting Date and Time
Formatting Enumerations
Chapter 22: Multithreaded Programming
The Thread Class
Determining When a Thread Ends
Pass an Argument to a Thread
The IsBackground Property
Thread Priorities
Synchronization
Thread Communication Using Wait( ), Pulse( ), and PulseAll( )
Using MethodImplAttribute
Using a Mutex and a Semaphore
Using an Event Synchronization Object
The Interlocked Class
Terminating a Thread
Suspending and Resuming a Thread
Determining a Threads State
Using the Main Thread
Multithreading Tips
Starting a Separate Task
Chapter 23: Collections, Enumerators, and Iterators
Collections Overview
The Non-Generic Collections
Storing Bits with BitArray
The Specialized Collections
The Generic Collections
Storing User-Defined Classes in Collections
Implementing IComparable
Using an IComparer
Accessing a Collection via an Enumerator
Implementing IEnumerable and IEnumerator
Using Iterators
Chapter 24: Networking Through the Internet
The System.Net Members
Uniform Resource Identifiers
Internet Access Fundamentals
Handling Network Errors
The Uri Class
Accessing Additional HTTP Response Information
Accessing the Header
MiniCrawler: A Case Study
Using WebClient
Part III: Applying C
Chapter 25: Building Components
What Is a C Component?
IComponent
Component
A Simple Component
Overriding Dispose(bool)
Employing the using Statement
Containers
Are Components the Future of Programming?
Chapter 26: Creating Form-Based Windows Applications
A Brief History of Windows Programming
Two Ways to Write a Form-Based Windows Application
How Windows Interacts with the User
Windows Forms
A Skeletal Form-Based Windows Program
Adding a Button
Handling Messages
Using a Message Box
Adding a Menu
What Next?
Chapter 27: A Recursive-Descent Expression Parser
Expressions
Parsing Expressions: The Problem
Parsing an Expression
Dissecting an Expression
A Simple Expression Parser
Adding Variables to the Parser
Syntax Checking in a Recursive-Descent Parser
Some Things to Try
Appendix A: XML Comment Quick Reference
Compiling XML Documentation
An XML Documentation Example
Index
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
List of Figures
List of Tables
C# 2.0: The Complete Reference (Complete Reference Series)
ISBN: 0072262095
EAN: 2147483647
Year: 2006
Pages: 300
Authors:
Herbert Schildt
BUY ON AMAZON
Database Modeling with MicrosoftВ® Visio for Enterprise Architects (The Morgan Kaufmann Series in Data Management Systems)
Introduction
Mapping ORM Models to Logical Database Models
Creating a Basic Logical Database Model
Editing Logical Models”Advanced Aspects
Reverse Engineering Physical Schemas to Logical Models
Beginners Guide to DarkBASIC Game Programming (Premier Press Game Development)
Characters, Strings, and Text Output
Looping Commands
Basic Graphics Commands
Game Graphics Learning to Use Bitmaps
Multiplayer Programming The Crazy Carnage Game
Absolute Beginner[ap]s Guide to Project Management
What Is the Value of Project Management?
Managing the Risk, Managing the Estimates
The Essential Process for Managing Project Risks
Unique Aspects of Managing Project Quality
Power of Servant Leadership Approach
Software Configuration Management
The DoD CM Process Model
Appendix N Corrective Action Processing (CAP)
Appendix Q Problem Trouble Report (PTR)
Appendix U Acronyms and Glossary
Appendix V Functional Configuration Audit (FCA) Checklist
Snort Cookbook
Invisibly Tapping a Hub
Building a Distributed IDS (Encrypted)
Logging to a Specific File
Detecting Stateless Attacks and Stream Reassembly
Writing Your Own Preprocessor
An Introduction to Design Patterns in C++ with Qt 4
C++ Standard Library Strings
Class Definitions
Composite Pattern: Parents and Children
M-V-C: What about the Controller?
Persistent Settings
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies