I have a list of c# objects and each object has 100 properties:
public string Group1;
public string Group2;
public string Group3;
.....................
...
..
.
public string Group99;
public string Group100;
I want to be able to pass in two numbers in the range of 1 to 100 and only get the properties that fall in between that range.
for example if i pass in the number 31 to 50 i would want the properties:
public string Group31;
public string Group32;
....................
...
..
.
public string Group50;
how would I be able to achieve this?