May 27 2008

Convert array of objects to array of strings

Published by turlach at 2:04 pm under dotNet

This is how to do it in one line in VB.NET. Very useful:

stringArray = Array.ConvertAll(Of Object, String)(objArray, AddressOf Convert.ToString)

Comments are closed at this time.

Trackback URI |