porkshopp
Active member
If I have a method called backpack and want it to display an array of content of my choosing, how can I make it go back to the line of code of which it was executed?
Like this:
Like this:
C#:
public static void bMenu()
{
Console.Clear();
string[] Bp = new string[5];
Console.WriteLine("Backpack");
for (int i = 0; i < 5; i++)
{
Console.WriteLine(""); //Backpack
Console.WriteLine((i + 1) + ") " + Bp);
}
Console.ReadKey();
Last edited by a moderator: