Is there any way to Print "Hello World" without using Console.WriteLine ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any way to Print "Hello World" without using Console.WriteLine ?

If any exist please solve with explanation

6th Feb 2017, 3:15 AM
Mariyadinesh
3 Answers
0
You could use: MessageBox.Show("Hello World"); But why would you not use WriteLine?
6th Feb 2017, 4:01 AM
Edi Lipovac
Edi Lipovac - avatar
0
The above question is asked in an interview ..
6th Feb 2017, 7:06 AM
Mariyadinesh
0
Everything will have an alternate answer . And it's a Console Application.. Then how can we use MessageBox.Show in Console Application??
6th Feb 2017, 7:09 AM
Mariyadinesh