This is my code for creating a Json response for jqGrid and for the new keyword to define a cell member. I get the following message "There is no better type for an implicitly typed array."
var resRows = results.Select(record => new { id = record.Reference, cell = **new** [] { record.Reference, record.TradeDate.ToShortDateString(), record.Currency1, record.Currency2, record.Notional.ToString(), record.EffectiveDate.ToShortDateString(), record.Quote.ToString() } }).ToArray();
What am I doing wrong here?
source share