lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 15
What is the output of the following program?
class Program { static void Main() { Params("args", '=', 0); } static void Params(params object[] args) { Console.Write(args.Length); } }
A. 0
B. 1
C. Compiler Error
D. 3
Links:
The [params] Keyword
Method Parameters