i have the following probem. I have a loop statement which calls a method but
loop is executing before code in side is finished.
static void Main(string args)
public static void Print()
int i = 10, j = 10;
public static int calculate(int i, int j)
int b = i * j;
Console.WriteLine("Result: " + b);
Since i can not post my whole project here this example should do it.
In my case what happens is While loop executes and keeps on running
while code that "calculates" doesnt get executed.
Now i was wondering is there a way to stop oop execution will function which is
inside the loo is executed?