crtz adlı üyeden alıntı: mesajı görüntüle
Bu tarz bir listem var, txt'den çekiyorum. Sadece bu listeyi toplasam yeterli olacak aslında
double total = 0;

using(System.IO.StreamReader sr = new System.IO.StreamReader(@"c:\test.txt"))
{
      string line = "";

      while ((line = sr.ReadLine()) != null)
            total += Double.Parse(line.Replace(".", ","));
}