Код: Выделить всё
User user = userDao.Get(1);
do
{
// processing...
// get the next user
user = UserDao.GetNext(user.Id);
if( user == null )
continue; // will this jump to the top of the loop?
}
while( user != null )
Может быть Мне следует переделать цикл в оператор while?
Подробнее здесь: https://stackoverflow.com/questions/201 ... a-do-while