vb.net - Second Opinion Needed on Code Snippet -


in code below, asked writer of code if correct. told me correct. have problem code below comment indicated not sure why check done. afaik check evaluates true. stand corrected ? take manager there no other technical people in company can ask. opinions appreciated.

to clarify isn't index.subitems same items(index) ?

for each lii listviewitem in listview1.items  '<?> not sure why check done                      if lii.subitems(recongrid.ref).text = listview1.items(lii.index).subitems(recongrid.ref).text                         listview1.items(li.index).subitems(recongrid.obal).text = lii.subitems(recongrid.cbal).text                         listview1.items(li.index).subitems(recongrid.lstobal).text = lii.subitems(recongrid.rbr).text                     end if                 end if             next 

well, turns out right. silly. implemented test case , proved condition in if statement true. !


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -