Thanks to those who responded.
I have two books that compare VB .NET and C#.
The one from O'Reilly loses much of its value as there is no index!
The one from APress has an inadequate index. For example, neither Ctype nor
DirectCast is listed in the index, however, if one knows that a conversion
function is required, there is an index item for conversion functions. So if
one already knows the language from which one is translating, the book could
be useful.
I guess one has to fully read such books, but as a reference, they are
inadequate.
--
http://www.standards.com/; See Howard Kaikow's web site.
"Howard Kaikow" <ka****@standards.com> wrote in message
news:%2******************@TK2MSFTNGP14.phx.gbl...
I'm converting some C# to VB .NET.
In an example that uses Outlook, I find the following C# statement:
Outlook.AppointmentItem appointment =
(Outlook.AppointmentItem)outlook.CreateItem(
Outlook.OlItemType.olAppointmentItem);
I do not understand how to convert the (Outlook.AppointmentIem) portion of
the statement.
--
http://www.standards.com/; See Howard Kaikow's web site.