Hi. I would like to convert empty string "" to zero in C#. The data is stored in (string) arrays. There is jagged array which contains all 5 string arrays. Could someone help?
// Jagged array intialization
string[][] all_prices = new string[5][];
all_prices[0] = nordpool;
all_prices[1] = tvh;
all_prices[2] = ttoist;
all_prices[3] = tarj1v;
all_prices[4] = tarj2v;
There can be some empty ("") values and I want convert them to zero.