C
CSharp-Jay
So I am currently programming an RPG video game for a fun side
project. And originally I had intended the character's inventory to
be an object array. But a friend of mine suggested using a list
instead. I am only about an intermediate programmer and I haven't
worked with lists before. I was hoping somebody could tell me what
the differences and pros/cons are of using a List vs Object Array for
my intended use.
project. And originally I had intended the character's inventory to
be an object array. But a friend of mine suggested using a list
instead. I am only about an intermediate programmer and I haven't
worked with lists before. I was hoping somebody could tell me what
the differences and pros/cons are of using a List vs Object Array for
my intended use.