error CS0246: The type or namespace name `List' could not be found.

I’m trying to create a list within C# and I’m getting the error: Assets/Scripts/LevelHandler.cs(6,16): error CS0246: The type or namespace name `List’ could not be found. Are you missing a using directive or an assembly reference?

Isn’t this the setup for creating lists?

using UnityEngine;
using System.Collections.Generic; /*This should be used for LIST to work, right?*/

public class LevelHandler : MonoBehaviour {
	
	public List items = new List();
	
}

System.Collections.Generic is for generic list declarations, e.g. List{MyClass}. Lists that don’t use generics, as you’re using, are in System.Collections. I would highly recommend using generics with lists, since the old non-generics versions can cause garbage collection issues due to boxing and unboxing.

NOTE: replaced the less-than/greater-than with curly braces since they get stripped out.