J
Jon Shemitz
If the String.IndexOfAny method's "anyOf" character array parameter
was marked as "params", we could call it as
S.IndexOfAny('a', 'b', 'c')
instead of
S.IndexOfAny(new char[] {'a', 'b', 'c'})
Why do we have to use the clumsy form?
was marked as "params", we could call it as
S.IndexOfAny('a', 'b', 'c')
instead of
S.IndexOfAny(new char[] {'a', 'b', 'c'})
Why do we have to use the clumsy form?