I have a function (function1) in my winforms app(c#) that return an array
inside the function1
public array function1(string value)
{
string[] array = new string[12];
//assigning values to the array elements....
retrun array;
}
and i call this function like this
string id="Some id";
string[] array2 = new string[12];
array2=this.function1(id);
but it gives me error
Cannot implicitly convert type 'System.Array' to 'string[]'. An explicit conversion exists (are you missing a cast?)
please experts help me !