C# and Vb.Net Conversion Pocket Reference

by
Format: Paperback
Pub. Date: 2002-04-01
Publisher(s): Oreilly & Associates Inc
  • Free Shipping Icon

    Receive Free Shipping To The More Store!*

    *Marketplace items do not qualify for the free shipping promotion.

  • eCampus.com Device Compatibility Matrix

    Click the device icon to install or view instructions

    Apple iOS | iPad, iPhone, iPod
    Apple iOS | iPad, iPhone, iPod
    Android Devices | Android Tables & Phones OS 2.2 or higher | *Kindle Fire
    Android Devices | Android Tables & Phones OS 2.2 or higher | *Kindle Fire
    Windows 10 / 8 / 7 / Vista / XP
    Windows 10 / 8 / 7 / Vista / XP
    Mac OS X | **iMac / Macbook
    Mac OS X | **iMac / Macbook
    Enjoy offline reading with these devices
    Apple Devices
    Android Devices
    Windows Devices
    Mac Devices
    iPad, iPhone, iPod
    Our reader is compatible
     
     
     
    Android 2.2 +
     
    Our reader is compatible
     
     
    Kindle Fire
     
    Our reader is compatible
     
     
    Windows
    10 / 8 / 7 / Vista / XP
     
     
    Our reader is compatible
     
    Mac
     
     
     
    Our reader is compatible
List Price: $9.95

Buy New

Usually Ships in 2-3 Business Days
$9.85

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$9.59
$9.59

Used Book

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Though most programmers use two or more languages, they usually have a mastery of one. Although Microsoft has advertised that the .NET runtime is language agnostic and that C# and Visual Basic .NET are so close that switching between the two is really quite easy, that?s only true up to a point. Some of the differences are obvious, but others are very subtle.C# & VB.NET Conversion Pocket Referencehelps you easily make the switch from one language to another.The differences occur in three main areas: syntax, object-oriented principles, and the Visual Studio .NET IDE. Syntax concerns the statements and language elements. Object oriented differences are less obvious, and concern differences in implementation and feature sets between the two languages. IDE differences include things like compiler settings or attributes. There is also a fourth area of difference: language features that are present in one language but have no equivalent in the other. These unique language features are also covered in this book.C# & VB.NET Conversion Pocket Referenceis a perfect companion for documents and books that don?t have examples using your mastered language. Author Jose Mojica expects that you know one of the two languages, but does not make an assumption about which one. He presents the information in a language-neutral point of view so that programmers from either background can read a section and feel that it is targeted to them.

Author Biography

Jose Mojica is an instructor and researcher at DevelopMentor, a company that's gained an international reputation for its experience with COM and COM+. He teaches various courses that focus on enterprise development in COM+, IIS, .NET, and Visual Basic. Before joining DevelopMentor, Jose was a consultant at IBM, writing DCOM servers that performed speech recognition and creating ActiveX controls in ATL for the ViaVoice SDK. He has worked with Visual Basic since Version 1.0. Jose is the author of Building ActiveX Controls with Visual Basic 5.0 and coauthor of Programming Internet Controls and Distributed Applications for Visual C++ 6.0 MCSD Training Kit.

Table of Contents

Introductionp. 1
Conventions Used in This Bookp. 2
Syntax Differencesp. 3
Case Sensitivityp. 3
Line Terminationp. 5
Commentsp. 6
Namespace Declaration and Usagep. 7
Variable Declarationp. 10
Variable Initializationp. 12
Declaring Function Parametersp. 13
Passing Function Parametersp. 16
Optional Parametersp. 18
Parameter Listsp. 18
Method Declarationp. 19
Returning Output Parametersp. 20
Program Startupp. 22
Exiting Programs/Methods/Loopsp. 24
Member Scopep. 27
Static and Shared Methodsp. 28
Classes Versus Modulesp. 30
If Statementsp. 32
Short-Circuitingp. 35
Conditional Statementp. 37
Properties and Indexersp. 38
Arraysp. 44
for Loopsp. 49
For/Each Loopsp. 52
Try/Catch Blocksp. 54
Attribute Usagep. 56
Control Charactersp. 58
Type Comparison and Conversionp. 60
Object-Oriented Featuresp. 65
Inheritance Syntaxp. 65
Method Overloadingp. 66
Constructors and Field Initializersp. 69
Invoking Other Constructorsp. 70
Invoking Base Constructorsp. 72
Initializersp. 74
Hiding Base Class Membersp. 76
Overriding Methodsp. 81
Requiring/Preventing Inheritancep. 87
Declaring and Implementing Interfacesp. 90
Delegates and Eventsp. 104
Comparing Classesp. 110
String Comparisonsp. 117
IDE Differencesp. 119
AssemblyInfo.xp. 119
Default/Root Namespacep. 122
Startup Objectp. 124
App.icop. 125
Imports/usingp. 125
COM Referencesp. 126
Compiler Constantsp. 127
Option Explicit, Option Strict, Option Comparep. 129
Errors and Warningsp. 130
Unique Language Featuresp. 131
Unsafe Blocks (C#)p. 131
Using (C#)p. 132
Documentation Comments (C#)p. 134
Operator Overloading (C#)p. 135
Late Binding (VB)p. 137
Table of Contents provided by Syndetics. All Rights Reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.