Solution 1:
Define a class with that a,b,c,d;
Then return an instance of that class;
class Toto
{
Type1 a;
Type2 b;
Type3 c;
Type4 d;
}
Toto GetToto()
{
//..
Toto t= new Toto();
return t;
}
Solution 2:
Pass that a,b,c,d types by reference.
void Func( ref Type1 a, ref Type2 b, ref Type3 c, ref Type4 d)
{
// here access/modify a,b,c,d
}
Solution 3:
Add that a,b,c,d objects to an ArrayList and return that array.
obislavu