Answer to Question #301130 in C# for Kun

Question #301130

Create a new console application, and name your project P1T1 (short for Prac1 Task1). In Visual Studio you should see the following code:

Add the statements to make your program write “Hello World” on your screen.

You will need 2 lines of code – one line to put the text on the screen, and one line to ensure that the black output box does not disappear immediately.

To compile and execute your program, click on the

button.

Be sure to save your application.


1
Expert's answer
2022-02-22T06:43:56-0500
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace P1T1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World");
            Console.ReadKey();
        }
    }
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS