Changes badWord to newWord in the text.
 Declaration Syntax
 Declaration Syntax Return Value
 Return Valuevoid
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | if newWord parameter is null. | 
 Declaration Syntax
 Declaration Syntax Return Value
 Return Value Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | if newWord parameter is null. |