The question is very stupid. Assign the entered value from the keyboard to two different variables used in different classes at once. So that the console did not wait to re-enter, as implemented in this example:
Console.WriteLine("ΠΠ²Π΅Π΄ΠΈΡΠ΅ ΠΊΠΎΡΡΡΠΈΡΠΈΠ΅Π½Ρ ΡΡΠΈΠ»Π΅Π½ΠΈΡ: \nGain="); Active.Gain = Convert.ToDouble(Console.ReadLine()); Passive.Gain = Convert.ToDouble(Console.ReadLine());