Problem with String interpolation and space in Label component #11128
Unanswered
caiqichang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
my code: https://github.com/caiqichang/desktop_pj
i create a winforms project by command
dotnet new winforms
, and add these code to fileForm1.Designer.cs
's methodInitializeComponent()
Problem:

the random number can not show
if i remove the space after colon
the random number can show

i have try
and the whold string ( include random number ) can show in the console.
why ? and how to add space after colon ?
Beta Was this translation helpful? Give feedback.
All reactions