pythonatSheriff
Full Stack Web Developer
I have an array of unlimited number of strings and I need to deconstruct this array into variables, so I searched for built-in method but in vain, so I decided to make my own function :
There is something wrong in using "params" as out , how can I make such a function, please ?
C#:
public static void Deconstruct(this string[] strArr, out params string)
{
for (int i = 0; i < strArr.Length; i++)
{
s[i] = strArr[i];
}
}
Last edited by a moderator: