How to cast object of type 'System.String[]' to type 'System.IConvertible'

389 Views Asked by At

Can't seem to find out how to make values from a array appear in a label..

sthlmLbl.Text += String.Format(" {0} grader celcius ({1} \x00b0F)", tempsisar[0], ((Convert.ToInt32(value) * (9 / 5)) + 32));

gives the exception

Unable to cast object of type 'System.String[]' to type 'System.IConvertible'.

Cant find a good answer to this, and since I'm working on a windows forms app I just cant inherit IConvertible either...

0

There are 0 best solutions below