if(temp[i].Items__c.contains(addvalue[i].payment__c)){
//Some code here
}
if temp.items_c size = 2 & addvalue[i].payment_c size = 1 then getting this error
Visualforce Error System.ListException: List index out of bounds: 1
Apart from that it works fine.How should I get rid of this problem