Why use the params keyword?
With params you can call your method like this: Without params, you can’t. Additionally, you can call the method with an array as a parameter in both cases: That is, params allows you to use a shortcut when calling the method. Unrelated, you can drastically shorten your method: