ericko_254
New member
- Joined
- Jun 3, 2020
- Messages
- 2
- Programming Experience
- Beginner
Implement an extension method for class StringBuilder to count the number of words contained in a StringBuilder object. For example, if a StringBuilder object sb=”This is to test whether the extension method count can return a right answer or not”, the number of words contained in sb is 16.
Write a GUI application that will allow user to input a number of words that s/he wants in a sentence. Using StringBuilder create a sentence with the specified number of words. The words in the sentence have random ASCII characters. A number of characters in each word is random number between 1 and 20
please help
Last edited by a moderator: