Search This Blog

Wednesday, March 19, 2014

C# Void Type Example

C# > Types > Void

Void specifies that the method doesn't return a value.

Example


private void Log(string msg)
{
   // log method

}