Here I have a code from Fleck that actually works fine in the C# (no errors)
and this is a line in a class library:
public Action<List<byte>> ReceiveData = delegate { };
then I convert it to vb .net using http://www.developerfusion.com/tools/convert/csharp-to-vb/
and it resulted:
Public ReceiveData As Action(Of List(Of Byte)) = Function() Do
End Function
but error occurs:
Do -> Expression Expected
End Function -> End Function must be preceded by a matching Function
can someone tell me what is the valid vb .net code for that?
thanks
For convertions try to use SharpDevelop. It can convert between C#, IronPython, Ruby and VB.NET