Multidimensional arrays - editing one element within one of the arrays

I have a multidimentional array set like the following

// 0 = G#, 1 = F#, 2 = E, 3 = D, 4 = C
// Second element is the time variable
songValues[0]  = [0,2.05];
songValues[1]  = [4,5.93];
songValues[2]  = [3,9.80];

I would like to be able to access the first element in one of the arrays (say songValues[0]) and change its value.

I already have a code which sends a message and variable to activate the following function (this function is within the same javascript as the above code)

function EditNoteType(noteValue : int){
	Debug.Log("edit note type worked! " + noteValue);
}

This works. Now I want to change the first variable in songValues[0] without changing the time variable.

(I’m not sure whether I can do this with some sort of “Shift/Pop” or not. My first attempt at this failed when I wrote:

songValues[0].Shift;

)

If you search around, you’ll find that Array is generally a terrible thing; use List instead:

#pragma strict
import System.Collections.Generic;

enum Note {c, d, e, fSharp, gSharp}

class SongData {
	var note : Note;
	var time : float;
	
	function SongData(note : Note, time : float) {
		this.note = note;
		this.time = time;
	}
} var songValues : List.<SongData>;

function Reset() {
	songValues = new List.<SongData>([
		new SongData(Note.gSharp, 2.05),
		new SongData(Note.c, 5.93),
		new SongData(Note.d, 9.80)
	]);
}