C# - Parse Array from Checkbox Post : I'm trying to parse posted checkbox's into an array variable in csharp. Example:

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-html -->

     <input type="checkbox" name="ID[]" value="1" />
     <input type="checkbox" name="ID[]" value="2" />
     <input type="checkbox" name="ID[]" value="3" />
     <input type="checkbox" name="ID[]" value="4" />

<!-- end snippet -->

That will be parsed from Request into something like this: 
int[] IDs = new int[] { 1, 2, 3, 4 };
