Hello Everyone,
I have two integere variables:
int_CurrentPage = 1
int_MaximumnumberOfPage = Could be any number lets say 10
How do I create an array of integer from 1 to 10 ? OR from Currentpage to MaximumNumberof page?
Thanks you
Hello Everyone,
I have two integere variables:
int_CurrentPage = 1
int_MaximumnumberOfPage = Could be any number lets say 10
How do I create an array of integer from 1 to 10 ? OR from Currentpage to MaximumNumberof page?
Thanks you
Hello,
You can use this syntax:
In your case:
Enumerable.Range(int_CurrentPage,int_MaximumnumberOfPage).ToArray()
Best,
Charbel
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.