So, I am trying to cast the following variable:
IEnumerable<IGrouping<object, object>> GroupedValues;
To this:
IEnumerable<IGrouping<int, int>> GroupedValues;
I have tried using Cast and also
Convert.ChangeType(GroupedValues, typeof(int));
but if It doesn't seem like a valid conversion if I compare it with a IEnumerable<IGrouping<int, int>>
variable;