Flylib.com
From Java to C#: A Developers Guide
From Java to C#: A Developers Guide
ISBN: 0321136225
EAN: 2147483647
Year: 2003
Pages: 221
Authors:
Heng Ngee Mok
BUY ON AMAZON
Main Page
Table of content
Copyright
About the author
Preface
Introduction
Targeted audience
Software prerequisites
What this book covers
Typographic conventions used
Codes
Errata discoveries
Trademarks
Structure of the book
Acknowledgments
Part 1: Introducing .NET and C
Chapter 1. Introducing .NET
1.1 Evolution: from COM to .NET
1.2 What exactly is .NET?
1.3 Multiple .NET programming languages and VS.NET
1.4 Intermediate language
1.5 The .NET Common Language Runtime
1.6 Competing in parallel with Java technologies
1.7 Common language infrastructure
1.8 Other .NET-related technologies
1.9 Unsafe codes and real time programs
1.10 Porting .NET to other operating systems
Chapter 2. Introducing C
2.1 Potent combo of Java and C
Chapter 3. JUMP to .NET and J
3.1 Java Language Conversion Assistant
3.2 The J language
Chapter 4. Hello C
4.1 How to compile and run the code examples in this book
4.2 Some .NET specifics
4.3 Disassembling an assembly file
Part 2: Classes, methods and other OO stuff
Chapter 5. Getting started
5.1 Basic class structure
5.2 Basic console IO
5.3 C namespaces (Java packages)
Chapter 6. Class issues
6.1 Class modifiers
6.2 Class members
6.3 Creating an object with the new operator
6.4 Looking at System.Object
6.5 Class inheritance
6.6 Implementing interfaces
6.7 Sealed classes (Java final classes)
6.8 Abstract classes
6.9 Nested classes (Java inner classes)
Chapter 7. Method issues
7.1 Method modifiers
7.2 Method basics
7.3 Instance constructors
7.4 Static constructors (Java static initializers)
7.5 Destructors
7.6 Constructor initializers and constructor chaining
7.7 Method overloading
7.8 Passing variable numbers of parameters into C methods
7.9 Abstract methods
7.10 Method overriding using the virtual and override Modifiers
7.11 Method hiding with the new keyword
7.12 Static methods
7.13 Sealed methods (Java final methods)
Chapter 8. Miscellaneous issues
8.1 Access modifiers
8.2 Static members
8.3 C constants and read-only fields (Java final variables)
8.4 Volatile fields
Part 3: Types, operators, and flow control
Chapter 9. C types
9.1 Pointer types
9.2 Reference types
9.3 Value types
9.4 Unsigned types in C
9.5 The decimal type
9.6 The char type
9.7 The string type and string literals
9.8 All types are objects
9.9 Casting for reference types
9.10 Casting for value types
9.11 Common typing with other .NET languages
Chapter 10. C operators
10.1 Operators and their precedence in C
10.2 Operator overloading
10.3 typeof operator
10.4 checked and unchecked operators and statements
10.5 Theoperator
10.6 The is operator (Java s instanceof operator)
10.7 The as operator
Chapter 11. Iteration and flow control
11.1 Looping with the while , do , for , continue and break keywords
11.2 Conditional statements using the if and else keywords
11.3 Looping with the foreach keyword
11.4 Conditional statements with the switch and case keywords
11.5 Flow control with the break and continue keywords
11.6 Flow control with the goto keyword
Part 4: Core topics
Chapter 12. Arrays
12.1 One-dimensional arrays
12.2 Multi-dimensional arrays: rectangular arrays
12.3 Multi-dimensional arrays: jagged arrays
12.4 Mixing jagged and rectangular arrays
12.5 Using the System.Array class
Chapter 13. Exception handling
13.1 Exception examples
13.2 C exception hierarchy
13.3 Examining System.Exception
13.4 Inner exceptions
13.5 Catching generic exceptions
Chapter 14. C delegates
14.1 What are delegates?
14.2 A first delegate example
14.3 Combining delegates
14.4 Removing delegates
14.5 Exception throwing in delegates
14.6 Passing method parameters by reference in delegates
Chapter 15. C events
15.1 Generic event model
15.2 What are C events?
15.3 A full example
15.4 Another full example
Chapter 16. Reflection and dynamic method invocation
16.1 Retrieving the type of an instance
16.2 Retrieving the type from a name of a class
16.3 Retrieving methods from a type
16.4 Retrieving modules from an assembly
16.5 Dynamically invoking methods in late bound objects
16.6 Creating new types during runtime
Chapter 17. Multi-threaded programming
17.1 Multi-threading
17.2 Thread states and multi-threading in C
17.3 Thread synchronization
17.4 Threading guidelines
Chapter 18. File IO
18.1 Copying, moving, and deleting files
18.2 Copying, moving, and deleting directories
18.3 Reading from or writing to a binary file
18.4 Reading from and writing to text files
Chapter 19. C collection classes
19.1 ArrayList
19.2 BitArray
19.3 Hashtable
19.4 Queue
19.5 SortedList
19.6 Stack
Part 5: Convenience features
Chapter 20. C properties
20.1 Properties as a replacement for accessor and mutator methods
20.2 Having only either the get or set section
20.3 Inheritance of properties
Chapter 21. C indexes
21.1 Overloading indexers
21.2 Wrong use of indexers
Chapter 22. Operator overloading
22.1 Explaining operator overloading
22.2 Operator overloading proper
22.3 Another example of operator overloading
Chapter 23. User-defined conversionscasts
23.1 The implicit and explicit keywords
23.2 Syntax of user-defined conversion method declarations
Part 6: C-specific features
Chapter 24. C preprocessor directives
24.1 Conditional compilation With define , undef , if and endif
24.2 else and elif
24.3 The define compiler option and undef
24.4 warning and error
24.5 region and endregion
Chapter 25. Using enums
25.1 Specifying different int values for enum elements
Chapter 26. C structures
26.1 First look at structs
26.2 Differences between a struct and a class
26.3 Why use a struct?
Chapter 27. C attributes
27.1 First look at attributes
27.2 Standard attributes
Chapter 28. Writing custom attributes
28.1 An attribute class
28.2 Another custom attribute example
28.3 Naming attribute classes and attribute specifications
28.4 Custom attributes in depth
28.5 The AttributeUsage attribute
Chapter 29. Writing unsafe codes
29.1 Definitions
29.2 Comparing Java and C.NET
29.3 Introducing pointers
29.4 Using the unsafe keyword
29.5 Declaring pointers
29.6 Using the address-of operator
29.7 Using the Indirection operator
29.8 Passing pointers to methods
29.9 Using the - member access operator
29.10 Using the sizeof operator
29.11 Pointer casting
29.12 Pointer arithmetic
29.13 Using the fixed keyword
29.14 A further example
Part 7: Appendices
Appendix A. Keywords in C
Appendix B. Comparing Java and C keywords
Appendix C. C coding conventions
C.1 General naming conventions
C.2 Naming C events
C.3 Naming C enums
C.4 Naming C interfaces
C.5 Naming C properties
C.6 Naming namespaces
C.7 Language interoperability issues
Appendix D. XML documentation
Appendix E. C command line tools
Appendix F. About .NET assemblies
F.1 What is an assembly?
F.2 Shared assemblies and the GAC
F.3 What is DLL hell?
F.4 Creating DLL assemblies using csc.exe
F.5 Compiling to modules
F.6 Referencing an external module during compilation of an assembly
Appendix G. Abbreviations used in this book
From Java to C#: A Developers Guide
ISBN: 0321136225
EAN: 2147483647
Year: 2003
Pages: 221
Authors:
Heng Ngee Mok
BUY ON AMAZON
Database Modeling with MicrosoftВ® Visio for Enterprise Architects (The Morgan Kaufmann Series in Data Management Systems)
Database Modeling
Getting Started
Configuring, Manipulating, and Reusing ORM Models
Mapping ORM Models to Logical Database Models
Logical Database Model Reports
C++ GUI Programming with Qt 3
Storing Settings
Staying Responsive During Intensive Processing
Advanced Clipboard Handling
QString and QVariant
Installing Qt/Mac
C++ How to Program (5th Edition)
(Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements Document
Algorithms
switch Multiple-Selection Statement
Wrap-Up
D.2. Abbreviating Binary Numbers as Octal and Hexadecimal Numbers
Java How to Program (6th Edition) (How to Program (Deitel))
Logical Operators
JPanel Subclass for Drawing with the Mouse
Wrap-up
Generic Classes
Windows: Additional Notes
The New Solution Selling: The Revolutionary Sales Process That Is Changing the Way People Sell [NEW SOLUTION SELLING 2/E]
Chapter One Solutions
Chapter Six Defining Pain or Critical Business Issue
Chapter Seven Diagnose Before You Prescribe
Chapter Thirteen Closing: Reaching Final Agreement
Appendix B Solution Selling: A Scalable Approach
GO! with Microsoft Office 2003 Brief (2nd Edition)
Problem Solving
Objective 1. Create and Save a New Document
Objective 3. Set Tab Stops
GO! with Help
Project 3A. Mailing Labels
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