How to use visual studio 2017? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use visual studio 2017?

i tried Console.WriteLine in VS, but this code doesn't exist. what code can i use to show a messagebox ?

18th May 2017, 3:19 AM
Antonia Rodrigues
Antonia Rodrigues - avatar
9 Answers
+ 3
first check which type of project you are working on. in console application use Console.WriteLine(); in winform. MessageBox.Show();
18th May 2017, 4:42 AM
MR Programmer
MR Programmer - avatar
+ 4
The output window will close automatically after the program has completed. Maybe this is the issue. Without seeing more code I can not say. Did you set it up to include C# support?
18th May 2017, 3:27 AM
jay
jay - avatar
+ 2
in console application use this Console.writeline ("hello sololearn"); in winform app use . MessageBox.show ("hello sololearn"); please show us the error so we can help you ?
18th May 2017, 4:00 AM
zakaria kasmi
zakaria kasmi - avatar
+ 1
Is it a "console" application project?
18th May 2017, 3:38 AM
Chandra Wibowo
Chandra Wibowo - avatar
+ 1
Thanks, guys <3 I'll try VS Code, seems easier than VS community hahahahha I repeated all the steps and the issue continued, one day I'll learn how this works (I believe hahaha) :*
19th May 2017, 12:05 AM
Antonia Rodrigues
Antonia Rodrigues - avatar
0
It shows an error, I tried "MessageBox..." too😔 C# was installed, the window of new project shows the option.
18th May 2017, 3:35 AM
Antonia Rodrigues
Antonia Rodrigues - avatar
0
hiiiiii
20th May 2017, 5:19 AM
biswajit
0
antonia Rodrigues
20th May 2017, 5:20 AM
biswajit
0
HAHAHAHA hey :P
20th May 2017, 5:32 AM
Antonia Rodrigues
Antonia Rodrigues - avatar