Hi,
I'm in my first OOP class, and I was wondering if there was any way to use a loop (for, while, do-while) do loop through the process below twice, but store the results of the second iteration through the loop in two new variables, and then create a second ComplexNumber object using those variable values from the second iteration?
Console.Write("Real part: ");
double realValue = double.Parse(Console.ReadLine());
Console.Write("Complex part: ");
double complexValue = double.Parse(Console.ReadLine());
ComplexNumber firstComplex = new ComplexNumber(realValue, complexValue);