Home > Net >  C # for problem
C # for problem

Time:09-22

C # console input Chinese does not display the output is what problem

CodePudding user response:

First it outputs "hello", do you still want how?

Program you write very well understood, however, with the intermediate variable transition may you easy to understand,

 string content=Console. ReadLine (); 
Console. WriteLine (content);

Console.ReadLine();

CodePudding user response:

reference 1/f, gypsy song response:
first it outputs "hello", do you still want how?

Program you write very well understood, however, with the intermediate variable transition may you easy to understand,

 string content=Console. ReadLine (); 
Console. WriteLine (content);

Console.ReadLine();

The hello is his to lose, not the output, the second line is

CodePudding user response:

refer to the second floor Nonoas response:
Quote: refer to 1st floor gypsy song response:
first it outputs "hello", do you still want how?

Program you write very well understood, however, with the intermediate variable transition may you easy to understand,

 string content=Console. ReadLine (); 
Console. WriteLine (content);

Console.ReadLine();

The hello is his to lose, not the output, the second line is


Hello is his input, output, but immediately without output: how do you see? .

CodePudding user response:

What platform are you using?
Under the Windows, I use vs2017 can output in Chinese

CodePudding user response:

The first, I input the second output only output a n
  •  Tags:  
  • C#
  • Related