I converted the following query from C#:
src.Select((c, i) => src.Substring(i)).Count(sub => sub.StartsWith(target))
to the VB.NET query:
src.[Select](Function(c, i) src.Substring(i)).Count(Function([sub]) [sub].StartsWith(target))
Using Developer Fusion. I was just wondering why the VB.NET version has [] throughout.
select
and sub
are keywords in VB.NET
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With