User-1188570427 posted
I am trying to read in my cell format from the database, but how would I place it into here?
decimal value = 123.456m;
Console.WriteLine("Your account balance is {0:C2}.", value);
I want to read in "C2" from the database.
I tried this:
Console.WriteLine("Your account balance is {0:{1}}.", value, cellFormat);Error CA2241 Provide correct arguments to formatting methods
Error CA2241 Provide correct arguments to formatting methods