words counter csharp

Code Example - words counter csharp

                
                        int count = inputstring.Split(' ').Length;