Hi there,
I've started reading Head first c#, It's given me an example to what a statement is.
Messagebox.show("Contact list 1.0", "About");
I'm just wondering is the entire line above a statement ? And if so is any line of code considered a statement ?
Also messagebox is a class right, and .show would be a method with this as it's parameters " ("Contact list 1.0", "About");" ?
Thanks.
Loading
Mahesh ChandPosted Apr 26, 2012, 5:49 AM
VulpesPosted Apr 26, 2012, 9:11 AM
For example, this line is regarded as a directive rather than a statement:
using System.Windows.Forms;
Jose PatricioPosted Apr 26, 2012, 5:52 AM