DEV Community

Discussion on: Delegates in C#… why we need them?

Collapse
 
dyagzy profile image
dyagzy

Thank you Yuzhou for this beautiful article. You have helped me to better understand delegates. The last line and last code, how is it possible that the instance of the delegate (modifier) is able to accept a strings of array rather than a string since the methods it's pointing to accepts strings as parameters? Can you explain please?