private void Load(Enum sound, ref SoundInfo[] array) { int soundIndex = Convert.ToInt32(sound); SoundInfo soundInfo = new SoundInfo(this.GetSoundOrMusicPath(sound)); array[soundIndex] = soundInfo; this.soundsBank.Add(array[soundIndex]); }