MartinEesmaa

Martin Eesmaa's first code C# program

Feb 2nd, 2022
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.96 KB | None | 0 0
  1. using System;
  2. using System.Threading;
  3.  
  4. public class Program
  5. {
  6.     public static void Main()
  7.     {
  8.         string input1 = "mA ma ma AA this is upper";
  9.         string lowerinput1 = input1.ToUpper();
  10.         Console.WriteLine(lowerinput1);
  11.         string input2 = "THIS IS your NOW THIS IS LOWER";
  12.         string upperinput2 = input2.ToLower();
  13.         Console.WriteLine(upperinput2);
  14.         Console.WriteLine("What is your favourite show? Example My Little Pony.");
  15.         string input3 = Console.ReadLine();
  16.         Console.Write("Your favourite show is ");
  17.         Console.WriteLine(input3);
  18.         string input4 = "Thanks for playing my game, everybody! By Martin Eesmaa";
  19.         string lowerinput4 = input4.ToUpper();
  20.         Console.WriteLine(lowerinput4);
  21.         Console.WriteLine("This program will exit in three seconds...");
  22.         var milliseconds = 3000;
  23.         Thread.Sleep(milliseconds);
  24.         Console.WriteLine("FINISHED!");
  25.     }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment