Advertisement
KodingKid

How to C#

Mar 24th, 2021
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. using System;
  2. namespace How to C#
  3. {
  4.     class Programming
  5.     {
  6.         static void Main(string[] args)
  7.         {
  8.             var milliseconds = 1000;
  9.     Thread.Sleep(milliseconds);
  10.             //this makes the script wait a second then prints the sentence below
  11.             Console.WriteLine("This is how you code in C#")
  12.                 //this prints "This is how you code in C# after the second wait
  13.             }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement