top of page

Multi-Use Word in a String

  • Writer: VC Healy
    VC Healy
  • Jan 11, 2021
  • 1 min read

Found a simple console app for checking the longest word in a string. I made some changes to the code to make it a little neater.


Rewrote this to find the shortest word.


Rewrote the code to allow the user to choose whether to choose the Longest or the shortest word. This code also has a multi-use statement. Allowing the user to re-run the code.

If the string under test was changing as in web scrapes. Then this could be the base class.







 
 
 

Recent Posts

See All
C# Calculator

Written my first C# console app. I had found a simple single calculation console app and I have enhanced it to allow the user to complete...

 
 
 

Comentarios


© 2020 by Vincent Healy. Proudly created with Wix.com

bottom of page