Reading all data in the list with duplicate data inside

I am having a problem reading all the list using for loop with duplicate data inside the list.

This is my code:

List<string> MyList= new List<string>();


void Start () {
		MyList.Add("SampTable");
		MyList.Add("Respawn");
		MyList.Add("SampTable");
	              }

public void ReadList()
	{
              int TagNum =  MyList.Count;
                for(int i = 0; i < TagNum; i++)
	       {
                      Debug.Log(TagNum);
                      Debug.Log(MyList*);*

}
}
However the output is always
3
SampTable
Respawn
I want the output like
3
SampTable
Respawn
SampTable

Hi Kerboy,

I think that you just have message stacking turned on.

Is there a number off to the far right with a 2 next to SampTable? If so - that means that you got 2 duplicate output messages from the same line, and to conserve space it collapses them and gives you a count.

There’s a tab above the output console that says “Collapse”. Uncheck it, and it should expand your outputs