By size, do you mean length? And if so that'd mean the listbox contains a collection of strings. In that case, just use the
Length
property on each
string
.
[Update]
-----------
In response to your updated question. Use
FileInfo
on each path-string and then get the
Length
property. More info here:
http://msdn.microsoft.com/en-us/library/system.io.fileinfo.length.aspx[
^]