How do I put the contents of a list in a single MessageBox?

前端 未结 5 1160
陌清茗
陌清茗 2020-12-28 20:19

Basically, I have a list with multiple items in it and I want a single message box to display them all.

The closest I have got is a message box for each item (using

5条回答
  •  天涯浪人
    2020-12-28 20:43

    simply you need to make a for loop for example:

     string total ="";
        for(int i =0; i

提交回复
热议问题