daily pastebin goal
25%
SHARE
TWEET

Chapter - 01 - Hello World

A4L Dec 7th, 2018 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top