/// <summary> /// Computes the outgoing values from this Transaction /// </summary> /// <returns></returns> public int ComputeOutgoingValues() { int sum = 0; //we get the trans fees sum += Int32.Parse(Data[0]); //and then each outgoing transaction value OutputValue.ForEach(m => sum += m); return(sum); }