Hi.
I have a class called step and in it i have a methodpublic IEnumerable<string> Execute(IEnumerable<string> input)
when i trying creating a thread i did it as below
List<string> l = new List<string>();
l.Add("a");
l.Add("r");
l.Add("d");
step s = new step();
Thread t3 = new Thread(s.Execute(l));
t3.Start();
give me a error msg
"Error 1 The best overloaded method match for 'System.Threading.Thread.Thread(System.Threading.ParameterizedThreadStart)' has some invalid arguments \Program.cs 25 25 PipeFilter
"
and
"Error 2 Argument 1: cannot convert from 'System.Collections.Generic.IEnumerable<string>' to 'System.Threading.ParameterizedThreadStart'Program.cs 25 36 PipeFilter
"
how to i resoleve this
appreciate a reply
thanks