Lloyd Sheen said:
Delegates exit in both. Why or what make you feel they don't?\
I found that in some articles, but I was reading about anonymous delegates,
apparently:
http://blog.steeleprice.net/archive/2006/09/28/914.aspx
"Since we do not have Anonymous Delegates in VB, we have to make class1 to
hold the State information and the Method (Sub) we want to run, the compiler
in C# decided that should be class1 and class1.<Lock>b__0) Next we need to
pass in all the state information that the Anonymous Delegate was allowed to
just use, now are you starting to see why these things are cool? "
http://www.developer.com/net/vb/article.php/3514906
"Thus far, anonymous methods haven't shown up in the current beta version of
VB.NET 2.0. However, since VB is getting everything else-like generics and
overloaded operators-I suspect anonymous methods are on the way too. This
article shows how to define anonymous methods in C# and what they might look
like in VB.NET."
Just curious if this is the case and if so, is MS planning to add this?
Thanks,
Tom