I. MY METHOD
private void itemLoop(int start, int finish)
{
finish += 1;
System.Object[] itemobj = new System.Object[finish];
for (int i = start; i <= finish; i++)
{
itemobj[i] = i;
}
}
II. I can't call the method. How can I call this method to create a range of items in ComboBox using loop?
this.cbMonth.Items.AddRange(itemLoop(1, 12));