Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.68 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace BirthDay
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. Console.Write("Enter your Birthday /dd.MM/ : ");
  14. string day = day = Console.ReadLine();
  15. DateTime dateTime = DateTime.UtcNow.Date;
  16. string dateStr = dateTime.ToString("dd.MM");
  17. while (day != dateStr)
  18. {
  19. Console.Write("Enter your Birthday /dd.MM/ : ");
  20. day = Console.ReadLine();
  21. }
  22.  
  23. Console.WriteLine();
  24. var row1 = new List<int>() { 126, 32, 67, 104, 101, 115, 116, 105, 116, 32, 114, 111, 106,
  25. 100, 101, 110, 32, 100, 101, 110, 32, 115, 108, 117, 110, 99, 104,
  26. 101, 118, 111, 32, 109, 111, 109, 105, 99, 104, 101, 32, 58, 41, 32, 126 };
  27.  
  28. foreach (var item in row1)
  29. { Console.Write((char)item); }
  30. Console.WriteLine();
  31.  
  32. var row2 = new List<int>() { 126, 32, 74, 101, 108, 97, 113, 32, 116, 105, 32, 109, 110, 111, 103, 111, 32, 122, 100, 114, 97,
  33. 118, 101, 44, 32, 109, 110, 111, 103, 111, 32, 115, 104, 116, 97, 115, 105, 101, 32, 105, 32, 109, 110, 111, 103, 111, 32, 109,
  34. 110, 111, 103, 111, 32, 117, 115, 112, 101, 104, 32, 40, 118, 32, 112, 114, 111, 103, 114, 97, 109, 105, 114, 97, 110, 101, 116,
  35. 111, 41, 32, 126 };
  36.  
  37. foreach (var item in row2)
  38. { Console.Write((char)item); }
  39. Console.WriteLine();
  40.  
  41. var row3 = new List<int>() { 126, 32, 73, 32, 110, 101, 107, 97, 32, 116, 111, 122, 105, 32, 34, 105, 110, 106, 101, 110, 101, 114, 101, 110,
  42. 32, 122, 97, 108, 101, 122, 34, 32, 98, 117, 100, 101, 32, 112, 111, 115, 108, 101, 100, 118, 97, 110, 32, 111, 116, 32, 109, 110, 111, 103,
  43. 111, 32, 109, 111, 115, 104, 116, 101, 110, 32, 34, 112, 114, 111, 103, 114, 97, 109, 105, 115, 116, 107, 105, 32, 105, 122, 103, 114, 101,
  44. 118, 34, 32, 126 };
  45.  
  46. foreach (var item in row3)
  47. { Console.Write((char)item); }
  48. Console.WriteLine();
  49. var row4 = new List<int>() { 126, 85, 83, 80, 69, 72, 126 };
  50.  
  51. foreach (var item in row4)
  52. { Console.Write((char)item); }
  53. Console.WriteLine();
  54.  
  55. Console.WriteLine("{0}{1}{2}{3}{4}{5}",
  56. new string(' ', 31), new string(':', 1), new string('.', 1), new string(' ', 1), new string(',', 1), new string('.', 2));
  57. Console.WriteLine("{0}{1}{2}{3}{4}{5}{1}{2}{3}{6}{1}{7}",
  58. new string(' ', 30), new string('.', 1), new string('\'', 1), new string(' ', 1), new string(':', 1),
  59. new string('~', 1), new string('_', 1), new string(',', 1));
  60. Console.WriteLine("{0}{1}{2}{3}{4}{1}{4}{2}{1}{2}",
  61. new string(' ', 28), new string('.', 1), new string('\'', 1), new string(' ', 3), new string(':', 2));
  62. Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{1}",
  63. new string(' ', 27), new string(':', 1), new string(' ', 5), new string(':', 2), new string('\'', 1),
  64. new string(' ', 2),new string('.', 1));
  65. Console.WriteLine("{0}{1}{2}{3}{4}{2}{3}{5}{2}{3}{6}",
  66. new string(' ', 25), new string('`', 1), new string('.', 1), new string(':', 1), new string(' ', 4),
  67. new string(' ', 2), new string('/', 1));
  68. Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{4}{2}{6}",
  69. new string(' ', 26), new string('`', 1), new string(':', 2), new string('-', 2), new string('.', 1),
  70. new string(':', 1), new string('\'', 1));
  71. Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{7}{8}",
  72. new string(' ', 28), new string('|', 1), new string('.', 1), new string(' ', 1), new string('_', 1),
  73. new string(':', 1), new string('=', 3), new string('-', 1), new string('\'', 1));
  74. Console.WriteLine("{0}{1}{2}{1}", new string(' ', 27), new string('/', 1), new string(' ', 1));
  75. Console.WriteLine("{0}{1}{2}{3}{4}{5}{2}{9}{4}{6}{1}{2}{7}{1}{7}",
  76. new string(' ', 10), new string(',', 1), new string(' ', 1), new string('-', 3), new string('.', 1),
  77. new string('-', 2), new string('_', 2), new string('\'', 1), new string('\'', 1), new string('-', 1));
  78. Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{7}{8}{7}{8}{9}{10}{9}{4}{10}{11}{4}{4}", new string(' ', 9),
  79. new string('(', 1), new string('~', 1), new string('`', 1), new string('.', 1), new string(' ', 2),
  80. new string('\\', 1), new string(' ', 3), new string(')', 1), new string('\'', 1), new string(',', 1), new string('-', 3));
  81. Console.WriteLine("{0}{1}{2}{1}{3}{4}{5}{4}{6}{7}{4}{8}{9}{7}{8}{11}{10}{7}{12}{13}{1}{8}",
  82. new string(' ', 10),new string('`', 1), new string('v', 1), new string('\\', 1), new string(' ', 1),
  83. new string('|', 1),new string(',', 1),new string('\'', 1),new string('.', 1),new string('-', 1),
  84. new string(',', 1),new string(':', 1),new string('_', 5),new string(' ', 3));
  85. Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{4}{7}{6}{6}{7}{4}{8}{6}{6}{6}{5}{4}{9}{10}",
  86. new string(' ', 14), new string(')', 1),new string('|', 1),new string('/', 1),new string('.', 1),
  87. new string('-', 1), new string('~', 1),new string('-', 2), new string(' ', 3),new string(' ', 1),new string('\\', 1));
  88. Console.WriteLine("{0}{1}{2}{3}{4}{1}{5}{6}{7}{8}{9}{10}{5}{5}{1}{11}{5}{12}",
  89. new string(' ', 12), new string('_', 1),new string('/', 1),new string('-', 1),new string('\'', 1),new string('.', 1),
  90. new string('-', 1),new string('~', 1),new string(' ', 8),new string('\"', 2), new string('-', 3),
  91. new string('`', 1), new string('|', 1));
  92. Console.WriteLine("{0}{1}{2}{3}{4}{1}{2}{3}{5}{8}{9}{10}",
  93. new string(' ', 7),new string('_', 1),new string('.', 1), new string('-', 1),new string('~', 2),new string('~', 1),
  94. new string('-', 1),new string('~', 1),new string(' ', 20),new string('\"', 2), new string('\'', 1));
  95. Console.WriteLine("{0}{1}{2}{3}{0}{4}{5}{3}",
  96. new string('_', 1),new string('.', 2),new string('-', 2),new string('~', 2), new string('.', 1),new string('(', 1));
  97. Console.WriteLine("{0}{1}{2}{3}",
  98. new string('_', 1), new string('.', 2), new string('-', 2), new string('~', 2));
  99.  
  100. }
  101. }
  102. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement