java script array to C#

ok,
i am learning C# still
and trying to convert my unity scripts to c# for practicing

how would you translate this to C#

var slot1 = new Array(“slotInv1”,1,1,1,“”,“”);

Use ArrayList or List’s (from System.Collections.Generic)

ive tried both that but got compiler errors
so i thought i am missing other option for c# arrays

The type System.Collections.ArrayList' does not contain a constructor that takes 6’ arguments

any other suggestions?

var slot1 = new ArrayList() { "slotInv1", 1, 1, 1, "", "" };

Probably… Well, I never use ArrayList.

var slot1 = new object[] { "slotInv1", 1, 1, 1, "", "" };

thank you,
that worked