// Computing sum for neuron in hidden and output layers private void RunNeuron(LinkedList <double> signals) { int i = 0; Axon.signal = 0; foreach (double signal in signals) { Axon.signal += Dendrites[i++].Run(signal); } Axon.signal += Bias.Run(1); }