this params in extension methods #6106
-
Is there plans to allow using this params in extension methods? public static int SumOf(this params int[] args) => args.Sum();
...
var s = SumOf(1,2,3,4,5); |
Beta Was this translation helpful? Give feedback.
Answered by
TahirAhmadov
May 9, 2022
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
333fred
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#6078