How to add class to a static Generic List

for writing an simple advanture inventory, I’m going to learn Generic List
But, it made me crazy :frowning:
How I can add class to this static list?

#pragma strict
import System.Collections.Generic;

static var item = new List.<itemClass>(); 

class itemClass
    {
    var itemName : String;
    var itemIcon : Texture;
    var itemDescription : String;
    }
    
    item.Add(........);

You need an instance of the class to be able to add it:

static var item = new List.<itemClass>();

function Start()
{
    var itemToAdd :itemClass = new itemClass();
    item.Add(itemToAdd);
}