How convert the code below form C#2008 to C#2005 dictionary
I want convert the code below form C#2008 to C#2005 have got Dictionary
[code]
Dictionary<GridCell, CellColors> cellColorsCahe = new Dictionary<GridCell, CellColors>();
void gridView1_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e)
{
foreach (var item in cellColorsCahe)
{
if (item.Key.RowHandle == e.RowHandle && item.Key.Column == e.Column)
{
e.Appearance.ForeColor = item.Value.ForeColor;
e.Appearance.BackColor = item.Value.BackColor;
}
}
}
[/code]