Answer the question
In order to leave comments, you need to log in
What does the number after the decimal point mean when interpolating in C#?
I'm going to break down simple examples. Got this example:
double[] array2 = new double[5] { 1.2, 3.4, 5.6, 7.8, 9.10 };
foreach ( double element in array2 )
{
Console.WriteLine($"{element,5}^2 = {element * element}");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question