hi am new here and in vb.net
and i've been trying to display outputs form an array but the message box appears empty with nothing in it ..
here is the code :
Dim r As Random = New Random()
For i = 1 To dept_no
For j = 0 To dept(i).GetUpperBound(0) - 1
dept(i)(j) = r.Next(300, 1000)
output &= dept(i)(j) & " "
Next
output &= vbCrLf
Next
MessageBox.Show("salaries are" & vbTab & output)