Dim names() As String = {"Hefin", "DOTNETSPIDER", "VB.net", "VisualStudio"} Dim n As Integer = names.Sum(Function(w) w.Length) Console.WriteLine("Total Number of Characters in the Whole Array is : " & n)Regards Hefin Dsouza=================================================================================Download SampleAttachmentsDownload (21383-201124-StringArray.rar)
Regards Hefin Dsouza=================================================================================Download SampleAttachmentsDownload (21383-201124-StringArray.rar)