Posted on: 9/28/2014 11:22:26 PM | Views : 438

I'm probably just tired, but if someone can help that'd be great.
I'm passing by reference and need to know the correct/best/quickest/proper way of doing things:

namespace ConsoleApplication1 { class Program { private static List<PlayerScore> beforeScores; static void Main(string[] args) { beforeScores = new List<PlayerScore>(); PlayerScore PlayerScore = new PlayerScore(); PlayerScore.Name = "Adam"; PlayerScore.Score = 1000; beforeScores.Add(PlayerScore); PlayerScore.Name = "Martin"; PlayerScore.Score = 500; beforeScores.Add(PlayerScore); PlayerScore.Name = "Zoe"; PlayerScore.Score = 0; beforeScores.Add(PlayerScore); // Problem #1 // I've passed by reference, so each lis ...

Go to the complete details ...