C# Func delegate with params type

Posted by Sarah Vessels on Stack Overflow See other posts from Stack Overflow or by Sarah Vessels
Published on 2010-06-08T13:48:26Z Indexed on 2010/06/08 13:52 UTC
Read the original article Hit count: 818

Filed under:
|
|
|

How, in C#, do I have a Func parameter representing a method with this signature?

XmlNode createSection(XmlDocument doc, params XmlNode[] childNodes)

I tried having a parameter of type Func<XmlDocument, params XmlNode[], XmlNode> but, ooh, ReSharper/Visual Studio 2008 go crazy highlighting that in red.

© Stack Overflow or respective owner

Related posts about c#

Related posts about parameters