Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.22 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections.Specialized;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Net;
  7. using System.Threading;
  8.  
  9. namespace IMJunior
  10. {
  11.     class Program
  12.     {
  13.  
  14.         static void Main(string[] args)
  15.         {
  16.  
  17.             Dialog[] dialog = new Dialog[3]
  18.             {
  19.                 new Dialog("Who are you", new string[] { "Footballer", "Nord", "Thief"}),
  20.                 new Dialog("What would you like?", new string[] { "Win my rocrastination", "Have bitcoin", "By GTX1080(fucking miner!!!)"}),
  21.                 new Dialog("You can help for orden", new string[] { "Yep. I'm Ronaldo", "I'm a gay", "I'm a geek"})
  22.             };
  23.             Console.WriteLine("Please fill this anket");
  24.            
  25.             //А дальше чёт хз чё делать, тут явно нужно вкорячить цикл. Но чёт я устал или тупой.
  26.  
  27.  
  28.         }
  29.     }
  30.  
  31.     class Dialog {
  32.  
  33.         public bool isDoorOpen;
  34.         public string Qustion;
  35.         public string[] Answer;
  36.  
  37.         public Dialog(string Qustion, string[] Answer) {
  38.             this.Qustion = Qustion;
  39.             this.Answer = Answer;
  40.         }
  41.     }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement