C
Cor Ligthert[MVP]
All methods to create an event handler in code in C# can be used in VB.Net
However, as extra in VB Net you simple can add multiple events to a method
by simple adding the handles clause to the declaration, so mostly you don't
have to search for the place where the handler is.
The way a event is assingned in the designer of C# shows that it has not
such a long evolution of that as in VB, however as C# devolepers unknown by
VB.Net find everything in C# better then VB they tell you that C# is better.
I use both lanugages. As I am doing maintenance in C# I see often the most
awful constructions.
Cor
However, as extra in VB Net you simple can add multiple events to a method
by simple adding the handles clause to the declaration, so mostly you don't
have to search for the place where the handler is.
The way a event is assingned in the designer of C# shows that it has not
such a long evolution of that as in VB, however as C# devolepers unknown by
VB.Net find everything in C# better then VB they tell you that C# is better.
I use both lanugages. As I am doing maintenance in C# I see often the most
awful constructions.
Cor