Skip to content

C# and VB. NET Conversion Pocket Reference Converting Code from One Language to Another

Best in textbook rentals since 2012!

ISBN-10: 0596003196

ISBN-13: 9780596003197

Edition: 2002

Authors: Jose Mojica

List price: $9.95
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

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 Reference helps 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…    
Customers also bought

Book details

List price: $9.95
Copyright year: 2002
Publisher: O'Reilly Media, Incorporated
Publication date: 5/14/2002
Binding: Paperback
Pages: 146
Size: 4.25" wide x 7.00" long x 0.41" tall
Weight: 0.308
Language: English

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.

Introduction
Conventions Used in This Book
Syntax Differences
Case Sensitivity
Line Termination
Comments
Namespace Declaration and Usage
Variable Declaration
Variable Initialization
Declaring Function Parameters
Passing Function Parameters
Optional Parameters
Parameter Lists
Method Declaration
Returning Output Parameters
Program Startup
Exiting Programs/Methods/Loops
Member Scope
Static and Shared Methods
Classes Versus Modules
If Statements
Short-Circuiting
Conditional Statement
Properties and Indexers
Arrays
for Loops
For/Each Loops
Try/Catch Blocks
Attribute Usage
Control Characters
Type Comparison and Conversion
Object-Oriented Features
Inheritance Syntax
Method Overloading
Constructors and Field Initializers
Invoking Other Constructors
Invoking Base Constructors
Initializers
Hiding Base Class Members
Overriding Methods
Requiring/Preventing Inheritance
Declaring and Implementing Interfaces
Delegates and Events
Comparing Classes
String Comparisons
IDE Differences
AssemblyInfo.x
Default/Root Namespace
Startup Object
App.ico
Imports/using
COM References
Compiler Constants
Option Explicit, Option Strict, Option Compare
Errors and Warnings
Unique Language Features
Unsafe Blocks (C#)
Using (C#)
Documentation Comments (C#)
Operator Overloading (C#)
Late Binding (VB)