I just recently started learning C# and im following an inventory tutorial that is scripted in js. I dont understand how I would convert these following statements to work in C#.
private var flagAvailable : Array;
flagAvailable = new Array();
flagAvailable.Push(true);
I did some reading and learned that Array in js is an array of objects, and you can use different types in it, so I thought I can just make an array of objects like “Object flagAvailable = …”. What does that last statement mean, can I use a stack?