I have a loop that has a function call in it which operates on some calculation and returns a string array.
The function accepts incoming values. The things that I expect to do in that function is serializable and thread safe.
So, how can i achieve this in multithreaded idea?
Should i create a seperate class for this or what to do?
public string GetAAA(string a, MyClass myObject)
for (int i = 0; i < someLength; i++)
arrRes[i] = obj.foo(a, b, c, d) ; // a, b, c, d are serializable