Home > Net >  Help: how to read c # CSV data inside of a column.. Then calculating the average. Then output
Help: how to read c # CSV data inside of a column.. Then calculating the average. Then output

Time:10-05

For c # how to read one column from the inside of the CSV data, then calculate the average, and then output,,,

CodePudding user response:

1. Turn the CSV datatable
https://blog.csdn.net/esonbest1234/article/details/50965734

2. Use the average value of the datatable:
https://blog.csdn.net/Theflybird/article/details/17991341

CodePudding user response:

Directly into the table first and then loop add up the column values inside/table rows
  •  Tags:  
  • C#
  • Related