KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
If Start=0 and Count=10 then how to get the alternate values using Enumerable.Range() the out put should be like { 0, 2, 4, 6, 8 } and if Start=1 and Count=10 then { 1, 3, 5, 7, 9 } The continuous value can be get like var a = Enumerable.Range(0,10).ToList(); but how to get the alternate values?
Tags (comma-separated)
Save Edits
Cancel