Does the Console.Write (" ") output code also work other than console application in C# like for Windows form application? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Does the Console.Write (" ") output code also work other than console application in C# like for Windows form application?

4th Sep 2017, 10:03 AM
Abdul Hamid Durrani
Abdul Hamid Durrani - avatar
3 Answers
+ 2
For Windows form applications they have other functions and procedures. Like: txtBox.text = "my text"; or in some cases they have lines where you can just say txtBox.lines.Add("my text"); You can directly Search them in Google if you don't know how to chance the text
4th Sep 2017, 10:14 AM
Limitless
Limitless - avatar
0
I don't know.
4th Sep 2017, 10:04 AM
Abdul Hamid Durrani
Abdul Hamid Durrani - avatar
0
Console. Write(" ") is a method of the Console object. So, I don't believe that it will work with form applications as they don't use the Console class.
4th Sep 2017, 10:13 AM
josh mizzi
josh mizzi - avatar