I've written this code but I am missing the part where I can actually type the array out to the console.
public class Program
{
public static void Main()
{
Parties p;
// What do I type here to print out the array to the console?
}
}
public partial class FormRestaurant
{
public int[] AllTables = { 3, 5, 6, 3 };
}
public class Parties
{
int length;
FormRestaurant f;
public Parties()
{
f = new FormRestaurant();
length = f.AllTables.Length;
}
}
Can somebody help please? I expected the console to print out array.