I am developing a card game.
In this card game the player can set down few cards in the same turn.
I have a function called SetCardsDown(….)
The card collection parameter can implemented by params keyword or List type.
In which implemenation should I use?
thanks
paramsas it will give you the ability to pass in an array. It doesn’t seem like you would want to pass in a list because that would give you extra functionality on the parameter that doesn’t make sense. LikeAddfor example.