I am a naive programmer to VB and VB.Net, I have mostly used C# and now I am stuck at a simple point as follows :-
CollectionView.CollectionChanged += Function(sender, e) RebuildSearchIndex()
I don't have any idea how to replace "+=" as its showing some error.
Requesting you all if anyone could please suggest me the correct syntax of the above code.
Earlier (before converting my C# code to VB.Net), it was in C# as follows :-
CollectionView.CollectionChanged += (sender, e) => RebuildSearchIndex();
Thanks a lot in advance :)
Edited 2 Years Ago by KM499