read a lot of C # Rookie tutorial than you start to play code, the final realization of the function one, reference to the online WordCount code discovery whether C + + or C # Most of the method is implemented by the hash table, and would like to only use the loop to iterate through all the characters in the sentence, that is found "" total++, but considering that the number of words in function two becomes a lot, the time is relatively slower, so the hash table is chosen to implement the function. Because it's just a sentence, you just have to split the space in the sentence, but the biggest problem I encountered during the resolution was C:\Users\dell-pc\Desktop\wcc\wcc\Interface1.cs (24,24): Error CS0029: The type "string[" cannot be implicitly converted to "string", which has been solved for a long time -
Here's My Code:
The result of the final implementation is:
Using C # to implement features 1