Void
Modified on 2008/04/23 09:04 by Administrator — Categorized as: Uncategorized
Used only as the return type for a method to specify that the method does not return a value.
void
is not allowed in a method's parameter list.
An example method that takes no parameters and returns no value is declared as follows:
void MyMethod() { // ... }