Advertisement
A4L

Chapter - 01 - Hello World

A4L
Dec 7th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.61 KB | None | 0 0
  1. // "using" keyword is #include - It adds code blocks of pre-written code.
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7.  
  8. namespace HelloWorld // largest grouping of code. Contains Classes.
  9. {
  10.     class Program // 2nd largest, Contains Methods
  11.     {
  12.         static void Main(string[] args) // A Method is a "function()"
  13.         {
  14.             Console.WriteLine("I'm sorry Dave, I'm afraid I can't do that.");
  15.             Console.ReadKey();
  16.  
  17.         }
  18.     }
  19. }
  20.  
  21. // White Spacces do not matter. Nor enters. ; can apear anywhere in a line.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement