C# for Java Developers 9780735645844, 0735645841

This title shows developers how to build Internet-based, distributed applications using Microsoft® .NET Remoting, which

748 98 1MB

English Pages 576 Year 2010

Report DMCA / Copyright

DOWNLOAD FILE

C# for Java Developers
 9780735645844, 0735645841

Table of contents :
Content: Cover
Copyright page
Dedications
Contents at a Glance
Table of Contents
Introduction
Why We Wrote This Book
Who Should Read This Book
Organization of This Book
Part I: Introducing .NET
Part II: The C♯ Language
Part III: Programming .NET with C♯
Part IV: Advanced Topics
Appendices
System Requirements
Support
Part I: Introducing .NET
Chapter 1: Introduction to Microsoft .NET
Background
Goals of .NET
System Integration Using XML
Platform Neutrality
Language Neutrality
Technology Consolidation
Overview of .NET
The .NET Framework
Development Tools
Server Products. Devices and ClientsBuilding Block Services
Platform Migration and Integration
Web Services and Open Standards
Java User Migration Path to Microsoft .NET
Third-Party Products
Skills Transfer
Summary
Chapter 2: Comparing Java and .NET Technologies
Java 2 Platform, Standard Edition
Java 2 Platform, Enterprise Edition
Summary
Part II: The C♯ Language
Chapter 3: Creating Assemblies
Using the C♯ Compiler
Other .NET Framework Tools
Assemblies
Contents of an Assembly
Single-File and Multifile Assemblies
Summary
Chapter 4: Language Syntax and Features
General Program Structure. The Main MethodComments
Documentation Comments
Case Sensitivity
Naming Conventions
Source Code Character Sets and Unicode
Identifiers
Source File Names and Contents
Keywords
Package and Namespace Keywords
Simple Type and Constant Keywords
Type Declaration, Access, and Manipulation Keywords
Modifier Keywords
Flow Control Keywords
Exception Handling Keywords
Unmanaged Code Keywords
Keywords as Identifiers
Operators
Precedence and Associativity
Literals
Modifiers
Access Modifiers
Inheritance Modifiers
Other Modifiers
Namespaces
Declaring Namespaces
Using Namespaces. StatementsLabeled Statements
Selection and Iteration Statements
Jump Statements
Other Statements
Summary
Chapter 5: Data Types
Types
Unified Type System
Value Types
Reference Types
Conversion
Members
Member Types and Declaration Context
Versioning and Inheritance of Members
Static Members
Member Attributes
Member Modifiers
Constants
Fields
Static and Instance Constructors
Destructors
Methods
Events
Properties
Indexers
Operators
Nested Types
Variables
Value Parameters
Reference Parameters
Output Parameters
Summary
Chapter 6: Advanced Language Features. Threading and SynchronizationExceptions and Exception Handling
Declaring Exceptions
Catching Exceptions
Throwing Exceptions
The Exception Hierarchy
The System. Exception Class
Attributes
Attribute Names
Attribute Specification
Custom Attributes
Compile-Time Attributes
Assertions
Preprocessor Directives
#define and #undef
#if, #elif, #else, and #endif
#region and #endregion
#warning and #error
#line
Unsafe Code
The unsafe Modifier
The /unsafe Compiler Flag
Managed and Unmanaged Types
The sizeof Operator
Pointers
The fixed Statement
The stackalloc Command
Summary.

Polecaj historie