Hello All,Can you guess the output of this C# code? πŸ€”πŸ”

Program.cs

Output:

2

3

8

2

11

15

20

Print(2,3,8) method passes the 3 integer arguments to print method.

Since, Print method has params keyword before the int parameter,it can accept a number of integer arguments.

Please let me know your thoughts on this story by clapping or leaving a comment with suggestions for future topics.

Let’s connect on Instagram and don’t forget to follow me here on Medium for more content.