Introduction - If you have any usage issues, please Google them yourself
The code used in File.ReadAllLines () function for reading small text document, at once the entire content of a text string into the array contents, each row of the array of strings as the contents of an element, the following the cycle realized the contents of the traversal, traversal process for each element by spaces or tabs are divided by split function, each element contents are returned after a new string in accordance with a space or tab-delimited array, placed in the newly defined strNew this string array, and then output. Next step is to calculate the total price.