Why use the params keyword?
I know this is a basic question, but I couldn’t find an answer. Why use it? if you write a function or a method that’s using it, when you remove it the code will still work perfectly, 100% as without it. E.g: With params: static public int addTwoEach(params int[] args) { int sum = 0; … Read more