(Solved) : Exercise 02 5 Marks Implement Extension Method Built Class Stringbuilder Count Number Word Q44038470 . . .
Lab Assignment # 2 – Programming 3
![Exercise 02 [5 marks] Implement an extension method for built-in class StringBuilder to count the number of words contained i](https://media.cheggcdn.com/media/a9d/a9d89630-f54a-432c-a43b-f09f4bee6560/phpPeQdMV.png)
Exercise 02 [5 marks] Implement an extension method for built-in 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. Show transcribed image text Exercise 02 [5 marks] Implement an extension method for built-in 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.
Expert Answer
Answer to Exercise 02 [5 marks] Implement an extension method for built-in class StringBuilder to count the number of words contai…
OR