You obviously don't do any async programming with .NET then?
If you don't know how to manage handlers yourself you will be in
trouble.
The Handles keyword is fine for wiring simple button click events.
Thats is the reason it is in VB and not C#
I think that is a little misleading... I mean your right, there is nothing
really equivalent to handles in C# (thank goodness), it doesn't mean that the
IDE won't automatically wire up events for you. You can just double click
your little button and get a default event handler just like you do in VB.NET
- the difference is that if at some point I want to change it a runtime I can
Really, I find VB.NET's handling of events cumbersome. My main problem with
VB.NET isn't that its a basic style language - it's that it is to dang wordy
Oh, and it's case insensitive - drives me nuts! I like to be able to do
this:
public class TheClass
{
private int theInt;
public int TheInt
{
get { return this.theInt; }
set { this.theInt = value; }
}
}
In VB.NET, I have to resort to the dreaded underscore:
Public Class TheClass
Private _theInt As Integer
Public Property TheInt As Integer
Get
Return Me._theValue
End Get
Set
Me._theValue = Value
End Set
End Property
End Class
Blah, blah, blah. To much typing.