VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Dim MyArray as String()={"AB","ABC","DFG"}
Need Result
Dim int1 as Integer=8
How about this
Dim MyArray As String() = {"AB", "ABC", "DFG"}
Dim totLen As Integer = (From el In MyArray Select el.Length).Sum