In a entity collection i have the 4 Entities.Now I need to select the entities by range which means I need to select first two entities.
After that I need to remove the first two entities from the entity collection and choose the next two entities.
pseudocode
Entitycollection EC = totalValues;//here totalValues having 4 entities.
int startrange = 0;
int uptoRange = 2;
here i need to select the 0 to 2 Index entities from the entity Collection
forloop (<loop the newly selected value >)
{
}
Finally I need to remove the selected value.