Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How do I get the total amount in a text file without already knowing how many there are or its contents?

$
0
0

Visual C# 2010 Winforms

The topic title is pretty self explanatory.  I want to create a method that will count the total amount of money deposited and return the number of lines in a rich text box.  I need a method that can be implemented in plain code and inside its own function.

I am combining this with another method I have to get a list of commands, which should be easier than using a dictionary array/collection.

Any help is appreciated.  Thanks.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>