Browse by Tags

All Tags » VB10 » VS2008 » CSharp (RSS)
Davy Brion posted about how events can keep object references alive.  In C# to rid yourself of this issue you have to manually unwire any event handler you wired.  In VB, it is a lot easier, all you have to do is use WithEvents and set the variable...
1 comment(s)
Filed under: , , , ,
Lucian has kicked off the conversation on generic variance in VB , so I thought I’d write a few posts outlining my perspectives on the subject… the first of which is this one, and what better place to start than to question whether or not it is really...
5 comment(s)
Filed under: , , , , ,
I was reading Kathleen’s post about what a C# developer needs to know about VB and thought I should clarify the bit about Booleans converted to numerics.  A Boolean in VB when converted to an integer type numeric, will be zero or the bitwise Not...
with no comments
Filed under: , , , ,
Does VB need prefix and postfix increment and decrement operators ? Here's an example I posted today for a question on adding an index with LINQ: Sub Main() Dim values() As String = { "aaa" , "bbb" , "ccc" } Dim index...
5 comment(s)
Filed under: , , ,
After my post about the first set of insults from the Windows Live team and the Search API samples, it was nice to see some VB samples released. Sadly though they were just the C# samples run through an automated tool. I mean look at this bullshit code...