there is such a line:
string stroka="aaaa"; if I continue to write:
stroka="aaab"; stroka="aaab"; I know about the cycle, but it isn’t good about the willow, the question is not in the cash register either: how to achieve the result of this so that the computer gives out all these lines I wrote with the code like this:
string stroka = "aaaa"; stroka = "aaab"; stroka = "aaac"; stroka = "aaad"; Console.WriteLine(stroka); Console.ReadKey(); The piece of iron naturally gave me only aaad, but I need to get all the lines, without giving them any other meaning, maybe through a block or otherwise, so as not to write like this:
static void Main(string[] args) { string stroka = "aaaa"; string stroka1 = "aaab"; string stroka2 = "aaac"; string stroka3 = "aaad"; Console.WriteLine(stroka); Console.WriteLine(stroka1); Console.WriteLine(stroka2); Console.WriteLine(stroka3); Console.ReadKey(); } but this is no good for me!