Tech Tutorials Database
GeekArticles Microsoft C#
 

Counting lines in a string

 
Author: codeproject.com
Category: C#
Comments (0)

compared your favorite with seven alternatives:static long LinesCount(string s) { long count = 0; int position = 0; while ((position = position)) != -1) { count++; position++; Skip this occurance! } ...

Read More...




Sponsored Links




Read Next: Silverlight File Manager



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe