Answered by:
Differences in VB and C# syntax Guide

Question
-
I'm a VB developer for many years and my knowledge on C# syntax is poor. For several reasons, I would to start working on some projects on C#. Does anybody know a document describing the differences between the C# and VB syntax?
For instance:
VB C# select-case statement switch-case statement addressof <methodname> <methodname> byref keyword ??? = operator == operator Dim myVar as myType myType myVar;
Tuesday, September 6, 2005 10:05 AM
Answers
-
don't answer... here it is:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q308470
and it's a great one!
Tuesday, September 6, 2005 10:17 AM -
For comparison of VB, C#, J#, C++, JScript, and Visual FoxPro, see this topic (and its subtopics) in the new Visual Studio 2005 docs:
http://msdn2.microsoft.com/en-us/library/czz35az4(en-US,VS.80).aspx
For the 2003 release, it's here:
Thursday, October 6, 2005 7:54 PM
All replies
-
don't answer... here it is:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q308470
and it's a great one!
Tuesday, September 6, 2005 10:17 AM -
For comparison of VB, C#, J#, C++, JScript, and Visual FoxPro, see this topic (and its subtopics) in the new Visual Studio 2005 docs:
http://msdn2.microsoft.com/en-us/library/czz35az4(en-US,VS.80).aspx
For the 2003 release, it's here:
Thursday, October 6, 2005 7:54 PM -
Thanks. Really detailed stuff! The document I mention above is very short and handy for VB-C# developers.
So... people take your pick!Friday, October 7, 2005 7:05 AM -
Is there a similar giude to converting Visual C# .NET into J#. There are some subtle differneces I am discovering like the lack of "ref" datatypes in java. I am most familiar with C++.
Thanks,
GHtokyoWednesday, April 25, 2007 11:30 PM -
The best source I know for this is in the Visual Studio 2005 documentation, covering Visual Basic, C#, C++, J#, JScript, and Visual FoxPro: http://msdn2.microsoft.com/en-us/library/czz35az4(en-US,VS.80).aspx.
Be sure to click through to the individual topics:
Friday, April 27, 2007 5:16 PM