How to get text and a variable in a messagebox

前端 未结 5 1135
滥情空心
滥情空心 2021-02-07 15:11

I just need to know how to have plain text and a variable in a messagebox.

For example:

I can do this: MsgBox(variable)

And I can do this: <

5条回答
  •  悲&欢浪女
    2021-02-07 15:43

    Why not use:

    Dim msg as String = String.Format("Variable = {0}", variable)
    

    More info on String.Format

提交回复
热议问题