Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace How to C#
- {
- class Programming
- {
- static void Main(string[] args)
- {
- var milliseconds = 1000;
- Thread.Sleep(milliseconds);
- //this makes the script wait a second then prints the sentence below
- Console.WriteLine("This is how you code in C#")
- //this prints "This is how you code in C# after the second wait
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement