C# lists

I have a C# script and I am trying ot make a list of strings, so I can list out names.

public List<string> scriptList = new List<string>();

However, I am getting an unusual error

I don’t know why this doesn’t work, I have successfully used it before with vector3’s, does unity not allow listing stings?

Sorry just figured it out, I had to have System.Collections.Generic and it worked.