I have moved from C# to 9-5pm VB.NET
Any tricks i should know? Where does VB.NET differ the most apart from syntax?
Where have namespaces gone?
[Note: just found http://converter.telerik.com/ brilliant]
Cheers John
I have moved from C# to 9-5pm VB.NET
Any tricks i should know? Where does VB.NET differ the most apart from syntax?
Where have namespaces gone?
[Note: just found http://converter.telerik.com/ brilliant]
Cheers John
Have you looked at this answer?: http://stackoverflow.com/questions/11632/what-are-the-most-important-functional-differences-between-c-and-vbnet
the telerik converter craps out on me on some of the newer syntax. I think this one is much better, albeit not as pretty.
See these two question:
Hidden Features of VB.Net
Most wanted Features for visual basic 10
Have a look at this:
It's a little old at this point (I think it's .NET 1.1), but it's still useful for comparing syntax.
This might also help as for lambda expressions in VBNET:
As you will notice, the keyword Function is used with VBNET as for an equivalency of a lambda expression that returns a value. For lambda expression that don't generate any return value, you have to use a helper method (a Sub) and use its pointer address with the keyword "AddressOf". This way, you will also be allowed to use multiline subs instead of single line function. The same is applicable when using functions. If your "function" lambda expression requires you to code in multiline, you will need to use AddressOf FunctionName to be able to perform multiline lamda functions.