c# - How do i define starting position of listbox? -


i want define listbox rows start @ 1, not default 0. how do ?

if determined it, make method

private int listindex(int index){   return index - 1; } 

and use listindex anywhere index list, others pointed out, should shift mindset deal 0 based indexes, standard in programming situations.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

c# - Binding attached property to IEnumerable -