Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C Sharp Programming/Keywords/void

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Keywords void __TOC__ The void keyword is used in method signatures to declare a method that does not return a value. A method declared with the void return type cannot provide any arguments to any return return statements they contain. Example: public void WorkRepeatedly (int numberOfTimes) { for(int i = 0; i < numberOfTimes; i++) if(EarlyTerminationIsRequested) return; else DoWork(); }