Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Number of Words in a Sentence?(C# Console App)

, 8 Oct 2012
Quote:for (int i = indexfirstChar; i < indexLastChar + 1; i++) { if (st1[i].ToString() == " ") counter++; }Change to:bool newspace = false;for (int i = indexfirstChar; i < indexLastChar + 1; i++){ if...

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 8-Oct-12 8:22 Available CPallini
Updates in content. 84 changes had been made.
1 No 8-Oct-12 8:20 Available CPallini

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

CPallini
Software Developer (Senior) AEM S.p.A.
Italy Italy




Debugging? Klingons do not debug. Our software does not coddle the weak. Bugs are good for building character in the user.
-- The Klingon programmer


Beelzebub for his friends [^].



Follow on   LinkedIn

| Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 8 Oct 2012
Article Copyright 2012 by CPallini
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid