This project contains a set of extension methods for the String class, along with a graphical user interface (GUI) to test these methods.
- AlternateCase: This method changes the case of every other letter in the string, capitalizing one and making the next one lowercase.
- CapitalizeWords: This method capitalizes the first letter of each word in the string.
- RemoveVowels: This method removes all the vowels from the string.
- WordCount: This method returns the number of words in the string.
- WordLengths: This method returns an array containing the lengths of individual words in the string.
- IsSentence: This method returns true or false, indicating whether the string is a sentence (starts with a capital letter and ends with a period).
- MostFrequentLetter: This method returns the letter that appears most frequently in the string.
- Clone this repository to your local machine.
- Run the project.
- The graphical user interface will open.
- Enter a text in the input field to test the various extension methods on it.
- Click the corresponding buttons to apply the selected extension methods and observe the results in the output field.
- Feel free to explore the code and the GUI to understand the implementation of each extension method.
MIT License