Alright So I want to know when looking at the code below:
every so often with each method argument there is an "identifier" starting with the first one: "Inside() , Show(), Outside(), Display() " I know the names can be made up literally but what do the parenthesis signify ?
Second question:
Recto.Display();
what exactly is recto more importantly "recto.display(); " mean surprisingly the web has no definition , i only see it shown up in examples on the web no mention of it whatsoever
My Last Question is "return 0" is basically the void type but instead returns integer values right ?
public class Outside
{
public class Inside
{
public static string InMessage;
public Inside()
{
Console.WriteLine(" _= Insider =_");
InMessage = "Sitting inside while it's raining";
}
public static void Show()
{
Console.WriteLine("Show me the wonderful world of C# Programming");
}
}
public Outside()
{
Console.WriteLine("=_ The Parent _=");
}
public void Display()
{
Console.WriteLine(Inside.InMessage);
Inside.Show();
}
}
class Exercise
{
static int Main()
{
Outside Recto = new Outside();
Outside.Inside Ins = new Outside.Inside();
Recto.Display();
return 0;
}
}
Thank you so much everyone, again for all your help! This really means a lot too me!