TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sumaira manzoor hussain khan
NA
241
251.1k
count sentence
Apr 15 2010 11:39 PM
how we can count sentances in list ?
this is my code behind the button .
int
count_sentence = 0;
string
sentence = textBox2.Text;
ms_word_doc = sentence.Split(
'.'
).ToList();
count_sentence=(ms_word_doc);
textBox3.Text = textBox3.Text +
Environment
.NewLine +
"the total no of sentences is "
+ count_sentence.ToString();
Reply
Answers (
2
)
Index was outside the bounds of the array.
How Do I: Run a class... Change at runtime?