7. Problems

  1. Modify the program Example 4.3, “WordChecker.cs” to use the IndexOf method instead of a loop to determine whether a space is present.