Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
hi
Dim ByStep as integer=3
Dim MyArray as Integer()={2,5,4,0,0,4,24,6,5,2,5}
need Result As String()={"254","004","2465","25"}
Maybe like this:
Dim Result As String() =
MyArray.
Select(Function(v, i) New With {i, v}).
GroupBy(Function(p) p.i \ 3).
Select(Function(g) String.Concat(g.OrderBy(Function(p) p.i).Select(Function(p) p.v.ToString))).
ToArray()