Hello, refer this code,
int NoOfWords = 0;
int NoOfChars = 0;
string objText = textBox1.Text.Trim();
string[] words = objText.Split(' ');
NoOfWords = words.Length;
foreach (string word in words)
{
NoOfChars += word.Length;
}
MessageBox.Show(string.Format("Words {0} and Chars {1}", NoOfWords, NoOfChars));
Just do some analysis, and think logically before implementing, because it is a very simple scenario.