The problem is that it runs, reaches the end of the
main
method, and the app exits - so you can't see the output.
There are two ways to get round this, and they both involve "stopping" your app before it exits.
For a Console app like this, that's pretty easy: add one line just before teh end of teh method:
Console.WriteLine(street + ", " + city + ", " + country);
Console.ReadLine();
}
The other is a little more complex, but a lot more flexible: use the debugger.
In Visual Studio, put the cursor on the last line of the method - the closing curly bracket. Look at the menu bar and open the "Debug" menu.
Select the "Toggle Breakpoint" option. You will see a "Red dot" appear at the beginning of the line - that says "Breakpoint here" and now you know where it is you can click that area and it will toggle a breakpoint at that line. "Red dot" there = breakpoint, "no Red Not" = no breakpoint.
When you have a breakpoint set, run your app using F5 again - this time, when it hits the breakpoint line, your app will stop and you can look at the output or - much more usefully - you can use the debugger to see your variable contents, and control your app while it is running! Get some practice with this, it's the best friend a developer can have!