C Sharp (C#) - Strings and StringBuilder
What will be printed by this code?
double price = 12.5;
string output = $"Price: {price:F1}";
Console.WriteLine(output);
double price = 12.5;
string output = $"Price: {price:F1}";
Console.WriteLine(output);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions