Book description
The fastest way for Java developers to pick up C# and .Net - by leveraging on what they already know in Java to learn the new language.
Allows a Java developer to pick up C# as quickly as possible by highlighting the similarities and differences between the two languages.
Extensive detailed coverage of the new features in C# not found in Java.
A useful introduction to the .NET platform and how the new architecture works. It's important for a C# developer to know what happens behind the scenes.
User Level:
Intermediate.
Audience:
All intermediate Java developers.
Technology:
C# is a new programming language which is promoted by Microsoft as the successor to C++. C# together with Visual Basic .NET are the two most popular programming languages .NET developers use to write applications targeted at the .NET platform.
Author Biography:
Mok Heng Ngee is an experienced software developer and architect who has been involved in numerous large-scale software enterprise projects based on the Java 2 Platform, Enterprise Edition (J2EE). Mok has writes for Computer Times and has been invited to speak at the official launch of Visual Studio .NET in Singapore. He has been accorded MVP (Most Valuable Professional) status by Microsoft Asia.
Table of contents
- Copyright
- About the author
- Preface
- Introduction
- Acknowledgments
-
Introducing .NET and C#
-
Introducing .NET
- Evolution: from COM to .NET
- What exactly is .NET?
- Multiple .NET programming languages and VS.NET
- Intermediate language
- The .NET Common Language Runtime
- Competing in parallel with Java technologies
- Common language infrastructure
- Other .NET-related technologies
- Unsafe codes and real time programs
- Porting .NET to other operating systems
- Introducing C#
- JUMP to .NET and J#
- Hello C#!
-
Introducing .NET
-
Classes, methods and other OO stuff
- Getting started
- Class issues
-
Method issues
- Method modifiers
- Method basics
- Instance constructors
- Static constructors (Java static initializers)
- Destructors
- Constructor initializers and constructor chaining
- Method overloading
- Passing variable numbers of parameters into C# methods
- Abstract methods
- Method overriding using the virtual and override Modifiers
- Method hiding with the new keyword
- Static methods
- Sealed methods (Java final methods)
- Miscellaneous issues
- Types, operators, and flow control
- Core topics
- Convenience features
-
C#-specific features
- C# preprocessor directives
- Using enums
- C# structures
- C# attributes
- Writing custom attributes
-
Writing unsafe codes
- Definitions
- Comparing Java and C#/.NET
- Introducing pointers
- Using the unsafe keyword
- Declaring pointers
- Using the & address-of operator
- Using the * Indirection operator
- Passing pointers to methods
- Using the -> member access operator
- Using the sizeof operator
- Pointer casting
- Pointer arithmetic
- Using the fixed keyword
- A further example
- Appendices
Product information
- Title: From Java to C#: A Developer's Guide
- Author(s):
- Release date: January 2003
- Publisher(s): Pearson Business
- ISBN: 9780321136220
You might also like
book
C# for Java Developers
Java developers—learn C# quickly and thoroughly with this book! Although Java and C# share many similarities, …
book
.NET for Java Developers: Migrating to C#
is the definitive guide to leveraging your Java programming experience in the .NET environment. Understanding the …
book
C# For Java Programmers
Java Programmers, Preprare for Microsoft's .NET initiative while enhancing your repertoire and marketability with C# for …
book
C# 7 and .NET Core Cookbook
Quick solutions to common programming problems with the latest features of C# 7.0, .NET Core 1.1, …