Being a newbie in this regard, in context of the said subject please see if any of you experts can suggest the correct way to assign a correct value instead of the highlighted portion, to be assigned in the following piece of C# Code to return the Formula of returning a formula possessed by a cell / range:
public static object XLformulas(object[,] input)
{
var rows = input.GetLength(0);
var cols = input.GetLength(1);
var result = new object[rows, cols];
for (int fRow = 0; fRow < rows; fRow++)
{
for (int fCol = 0; fCol < cols; fCol++)
{
result[fRow, fCol] = ????
}
}
return result;
}