In my current project, I am working with an array in JavaScript that is created based on checked items. After this integer array is generated, I need to figure out how to pass it to C#. My initial thought was to use a hidden text box and store the integers as a string, then split the string within C# to create the array. For instance, if rows 1, 3, and 7 are selected, the array would be { 1, 3, 7 }. Would it be simpler to utilize a hidden textbox containing the string "1, 3, 7" and retrieve this string in C#?