I have two C# solutions in VS 2012.
The following explicit conversion works in both solutions:
Excel.Range rng = (Excel.Range)Date.DataRange.Cells[1];
The following implicit conversion works in one of the solution but generates an error in the other solution:
Excel.Range rng = Date.DataRange.Cells[1];
What might be the reason why the implicit conversion works in one of the projects but not the other?
EDIT: The error message that I get is 'object' does not contain a definition for 'Group' and no extension method 'Group' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)