I converted the following query from C #:
src.Select((c, i) => src.Substring(i)).Count(sub => sub.StartsWith(target))
in the VB.NET request:
src.[Select](Function(c, i) src.Substring(i)).Count(Function([sub]) [sub].StartsWith(target))
Using Developer Fusion . I'm just wondering why the version of VB.NET has [] everywhere.
source share