Action doesnt seem to support params string[] as a param so i wrote
delegate void WriteFn(string s, params string[] ls);
i have this function
void blah(WriteFn Write, string fmt, params string[] a)
Now i would like to write an function but i cant seem to figure the syntax out. It something like
{
var sw = ...
blah(new WriteFn(s, ls) { sw.write(s, ls); }, fmt, a);
//not what i want to do but close enough. remember sw isnt a param in WriteFn
How do i write this?