Activity No.3.1
Activity No.3.1
TLE – ICT 10
This time, you will start to use Visual C# in developing programs. To do this, follow these steps:
The first line contains a comment. The characters // convert the rest of the line to a comment.
A comment can also be declared by a block of text, enclosing it between the /* and */ characters.
Namespace HelloWorld
A C# console application must contain a Main method where the program control starts and
ends. The main method is where the main program/process is written.
The statement Console.WriteLine (“Hello World!”) uses the WriteLine method. WriteLine is one
of the output commands for the console class, which displays the string parameter followed by a new
line. Including the using System directive at the begging of the program also allows you to use input
and output operations.
Console.WriteLine(“Hello World!”)
Visual Studio has the IntelliSence feature that provides instant code completion while coding. It appears
whenever you start entering the syntax and displays options on how to complete the statement. This
also indicates that you are entering the correct syntax
After doing Activity 3.1, evaluate your personal assessment towards the completion of the
task. Just put a check.
Very Need
Skills Satisfactory or Satisfactory Improve
Excellent
My Work ensures the highest quality.
I used my time well throughout the task/s to
ensure things get done on time.
I always show a positive attitude about the
task/s.
I consistently stay focused on the tasks and
what needs to be done. I am very self-directed.
I always make sure that I have all the
materials/resources for the task/s.