Regarding parameterizedthreadstart???
-
Hello All, I have a situation here, where in, i have to pass a ref object to a method that has to be called within a thread. how to pass that ref object within the parameterized thread. Public void methodname(ref string Strname) { .. .. .. } parameterizedthreadstart prmThst = new ParameterizedthreadStart(mehthodname(ref StrName) thread thnew = new thread(prmthSt); this is throwing error.. Help is required.. Thanks and Regards
Bharath.S Ron
-
Hello All, I have a situation here, where in, i have to pass a ref object to a method that has to be called within a thread. how to pass that ref object within the parameterized thread. Public void methodname(ref string Strname) { .. .. .. } parameterizedthreadstart prmThst = new ParameterizedthreadStart(mehthodname(ref StrName) thread thnew = new thread(prmthSt); this is throwing error.. Help is required.. Thanks and Regards
Bharath.S Ron