Dynamically build an array for web service

后端 未结 5 953
既然无缘
既然无缘 2021-01-27 01:55

I\'m using C# and asp.net to query a web service.

The user will enter the number of guests and then I need to add that number of guests to the web service call. Creati

5条回答
  •  时光说笑
    2021-01-27 02:26

    I'd suggest using a List rather than an array in this case. You can convert it to an array once it is populated if you still need it as an array.

提交回复
热议问题