Qus:    Limitations in using Params Keyword?
Dec 21, 2020 21:18 DotNet 2 Answers Views: 1151 DIVYA

 There are three limitations in using params keyword-



1. We can send only comma separated list of arguments to a method.

2. No additional parameters are permitted after the params keyword in a method declaration.

3. Only one params keyword is permitted in a method declaration.

Prev Next
Answers (2)
PARTH Dec 22, 2020 13:11
Answer:   There are three limitations in using params keyword-

1. We can send only comma separated list of arguments to a method.
2. No additional parameters are permitted after the params keyword in a method declaration.
3. Only one params keyword is permitted in a method declaration.

PADMAKEECHU Dec 22, 2020 16:15
Answer:   Once the Param keyword is used in method declaration additional parameters are not allowed.
Params type can only be single dimensional array.

Post Your Answer
Guest User

Not sure what solution is right for you?

Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.


Let`s Connect