best proceed mislay equipment collection


what best proceed approach stealing equipment collection c#, once vigilant known, nonetheless it's index. proceed it, nonetheless seems awkward during best.



//remove existent purpose assignment user.
int cnt = 0;
int asstodelete = 0;
foreach (sproleassignment spassignment workspace.roleassignments)
{
(spassignment.member.name == shortname)
{
asstodelete = cnt;
}
cnt++;
}
workspace.roleassignments.remove(asstodelete);


what i unequivocally vigilant mislay ability (in case, name) but looping by whole collection controlling 2 additional variables.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?