I am trying to add a double variable into a Console.WriteLine and am not sure to:
Add into the Console.WriteLine command and
Format the variable to Currency.
Any Help is greatly appreciated.
Currently I have this code:
public static class SizeUnit
{
public static string FileSizeToString(long size)
{
double FileSize = size;
string[] format = new string[] { "{0} bytes", "{0:0.00} KB", "{0:0.00}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.