Convert Decimal List to string separated by delimiter(',')

Viewed 3694

I have IList<Decimal> which i want to convert to string separated by ,.

I tried. mrps in list of decimal

var mrpstring = string.Join<string>(",", mrps.Cast<string>().ToList());

Throwing exception of Unable to cast object of type 'System.Double' to type 'System.String'

Any solutions?

6 Answers
Related