From Java to C# - A Developers Guide
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > From Java to C# - A Developers Guide
1%
From Java to C# - A Developers Guide

From Java to C# - A Developers Guide

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

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:
About the author xiii Preface xv Introduction xvii Acknowledgments xxi Part 1 Introducing .NET and C# 1 1 Introducing .NET 3 1.1 Evolution: from COM to .NET 3 1.2 What exactly is .NET? 5 1.3 Multiple .NET programming languages and VS .NET 6 1.4 Intermediate language 8 1.5 The .NET common language runtime 9 1.6 Competing in parallel with Java technologies 12 1.7 Common language infrastructure 14 1.8 Other .NET-related technologies 19 1.9 Unsafe codes and real time programs 22 1.10 Porting .NET to other operating systems 23 2 Introducing C# 25 2.1 Potent combo of Java and C!! 26 3 JUMP to .NET and J# 30 3.1 Java Language Conversion Assistant 30 3.2 The J# language 30 4 Hello C#! 34 4.1 How to compile and run the code examples in this book 34 4.2 Some .NET specifics 36 4.3 Disassembling an assembly file 36 Part 2 Classes, methods, and other OO stuff 39 5 Getting started 41 5.1 Basic class structure 41 5.2 Basic console I_O 45 5.3 C# namespaces (Java packages) 50 Contents 6 Class issues 56 6.1 Class modifiers 56 6.2 Class members 56 6.3 Creating an object with the new operator 60 6.4 Looking at System.Object 61 6.5 Class inheritance 63 6.6 Implementing interfaces 65 6.7 Sealed classes (Java final classes) 73 6.8 Abstract classes 73 6.9 Nested classes (Java inner classes) 74 7 Method issues 78 7.1 Method modifiers 78 7.2 Method basics 79 7.3 Instance constructors 84 7.4 Static constructors (Java static initializers) 85 7.5 Destructors 87 7.6 Constructor initializers and constructor chaining 88 7.7 Method overloading 91 7.8 Passing variable numbers of parameters into C# methods 91 7.9 Abstract methods 94 7.10 Method overriding using the virtual and override modifiers 96 7.11 Method hiding with the new keyword 101 7.12 Static methods 105 7.13 Sealed methods (Java final methods) 107 8 Miscellaneous issues 109 8.1 Access modifiers 109 8.2 Static members 114 8.3 C# constants and read-only fields (Java final variables) 116 8.4 Volatile fields 119 Part 3 Types, operators, and flow control 123 9 C# types 125 9.1 Pointer types 126 9.2 Reference types 126 9.3 Value types 129 9.4 Unsigned types in C# 132 9.5 The decimal type 133 9.6 The char type 133 9.7 The string type and string literals 134 9.8 All types are objects 136 9.9 Casting for reference types 139 9.10 Casting for value types 140 9.11 Common typing with other .NET languages 142 10 C# operators 144 10.1 Operators and their precedence in C# 144 10.2 Operator overloading 149 10.3 typeof operator 150 10.4 checked and unchecked operators and statements 153 10.5 The # # operator 159 10.6 The is operator (Java’s instanceof operator) 162 10.7 The as operator 164 11 Iteration and flow control 167 11.1 Looping with the while, do, for, continue and break keywords 167 11.2 Conditional statements using the if and else keywords 170 11.3 Looping with the foreach keyword 171 11.4 Conditional statements with the switch and case keywords 173 11.5 Flow control with the break and continue keywords 174 11.6 Flow control with the goto keyword 175 Part 4 Core topics 181 12 Arrays 183 12.1 One-dimensional arrays 184 12.2 Multi-dimensional arrays: rectangular arrays 185 12.3 Multi-dimensional arrays: jagged arrays 187 12.4 Mixing jagged and rectangular arrays 189 12.5 Using the System.Array class 190 13 Exception handling 193 13.1 Exception examples 193 13.2 C# exception hierarchy 204 13.3 Examining System.Exception 206 13.4 Inner exceptions 208 13.5 Catching generic exceptions 210 14 C# delegates 212 14.1 What are delegates? 212 14.2 A first delegate example 215 14.3 Combining delegates 216 14.4 Removing delegates 219 14.5 Exception throwing in delegates 221 14.6 Passing method parameter


Best Sellers


Product Details
  • ISBN-13: 9780321136220
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison-Wesley Educational Publishers Inc
  • Height: 231 mm
  • No of Pages: 464
  • Spine Width: 25 mm
  • Width: 183 mm
  • ISBN-10: 0321136225
  • Publisher Date: 09 Dec 2002
  • Binding: Paperback
  • Language: English
  • Returnable: N
  • Weight: 1580 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
From Java to C# - A Developers Guide
Pearson Education (US) -
From Java to C# - A Developers Guide
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

From Java to C# - A Developers Guide

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!