Initialize and assign values to list of ints without a loop
- by Shawn Mclean
is there a shorter way to do this:
List<int> mins = new List<int>();
for(int i = 0; i<60; i++)
{
mins.Add(i+1);
}
Functional version also appreciated if available in c#, also f# version appreciated.