I am using this code :

Excel.Range rang = oSheet.get_Rang e(oSheet.Cells[index + 1, "A"],oSheet.Cells[index+1]

to get the range of entire row but having error:
"'object' does not contain a definition for 'get_Range'"