3
Answers

What is a statement ?

Jose Patricio

Jose Patricio

12y
1.1k
1
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. 


Answers (3)