I need to process more than one function that goes and performs results returning the same type of records. I am using c# under visual studio 2010 considering the functions i have are:
class Search{
public list<wrecords> GetrecordsofAAA(string term);
public list<wrecords> GetrecordsofBBB(string term);
public list<wrecords> GetrecordsofCCC(string term);
}
and im calling the functions this way
list<wrecords> records1 = Search.GetrecordsofAAA(heart);
list<wrecords> records2 = Search.GetrecordsofBBB(heart);
list<wrecords> records3 = Search.GetrecordsofCCC(heart);
this is series processing.
I need records1, records2 and records 3 to be filled simultaneously, if possible.