Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace BirthDay
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Enter your Birthday /dd.MM/ : ");
- string day = day = Console.ReadLine();
- DateTime dateTime = DateTime.UtcNow.Date;
- string dateStr = dateTime.ToString("dd.MM");
- while (day != dateStr)
- {
- Console.Write("Enter your Birthday /dd.MM/ : ");
- day = Console.ReadLine();
- }
- Console.WriteLine();
- var row1 = new List<int>() { 126, 32, 67, 104, 101, 115, 116, 105, 116, 32, 114, 111, 106,
- 100, 101, 110, 32, 100, 101, 110, 32, 115, 108, 117, 110, 99, 104,
- 101, 118, 111, 32, 109, 111, 109, 105, 99, 104, 101, 32, 58, 41, 32, 126 };
- foreach (var item in row1)
- { Console.Write((char)item); }
- Console.WriteLine();
- 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,
- 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,
- 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,
- 111, 41, 32, 126 };
- foreach (var item in row2)
- { Console.Write((char)item); }
- Console.WriteLine();
- 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,
- 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,
- 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,
- 118, 34, 32, 126 };
- foreach (var item in row3)
- { Console.Write((char)item); }
- Console.WriteLine();
- var row4 = new List<int>() { 126, 85, 83, 80, 69, 72, 126 };
- foreach (var item in row4)
- { Console.Write((char)item); }
- Console.WriteLine();
- Console.WriteLine("{0}{1}{2}{3}{4}{5}",
- new string(' ', 31), new string(':', 1), new string('.', 1), new string(' ', 1), new string(',', 1), new string('.', 2));
- Console.WriteLine("{0}{1}{2}{3}{4}{5}{1}{2}{3}{6}{1}{7}",
- new string(' ', 30), new string('.', 1), new string('\'', 1), new string(' ', 1), new string(':', 1),
- new string('~', 1), new string('_', 1), new string(',', 1));
- Console.WriteLine("{0}{1}{2}{3}{4}{1}{4}{2}{1}{2}",
- new string(' ', 28), new string('.', 1), new string('\'', 1), new string(' ', 3), new string(':', 2));
- Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{1}",
- new string(' ', 27), new string(':', 1), new string(' ', 5), new string(':', 2), new string('\'', 1),
- new string(' ', 2),new string('.', 1));
- Console.WriteLine("{0}{1}{2}{3}{4}{2}{3}{5}{2}{3}{6}",
- new string(' ', 25), new string('`', 1), new string('.', 1), new string(':', 1), new string(' ', 4),
- new string(' ', 2), new string('/', 1));
- Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{4}{2}{6}",
- new string(' ', 26), new string('`', 1), new string(':', 2), new string('-', 2), new string('.', 1),
- new string(':', 1), new string('\'', 1));
- Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{7}{8}",
- new string(' ', 28), new string('|', 1), new string('.', 1), new string(' ', 1), new string('_', 1),
- new string(':', 1), new string('=', 3), new string('-', 1), new string('\'', 1));
- Console.WriteLine("{0}{1}{2}{1}", new string(' ', 27), new string('/', 1), new string(' ', 1));
- Console.WriteLine("{0}{1}{2}{3}{4}{5}{2}{9}{4}{6}{1}{2}{7}{1}{7}",
- new string(' ', 10), new string(',', 1), new string(' ', 1), new string('-', 3), new string('.', 1),
- new string('-', 2), new string('_', 2), new string('\'', 1), new string('\'', 1), new string('-', 1));
- Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{7}{8}{7}{8}{9}{10}{9}{4}{10}{11}{4}{4}", new string(' ', 9),
- new string('(', 1), new string('~', 1), new string('`', 1), new string('.', 1), new string(' ', 2),
- new string('\\', 1), new string(' ', 3), new string(')', 1), new string('\'', 1), new string(',', 1), new string('-', 3));
- Console.WriteLine("{0}{1}{2}{1}{3}{4}{5}{4}{6}{7}{4}{8}{9}{7}{8}{11}{10}{7}{12}{13}{1}{8}",
- new string(' ', 10),new string('`', 1), new string('v', 1), new string('\\', 1), new string(' ', 1),
- new string('|', 1),new string(',', 1),new string('\'', 1),new string('.', 1),new string('-', 1),
- new string(',', 1),new string(':', 1),new string('_', 5),new string(' ', 3));
- Console.WriteLine("{0}{1}{2}{3}{4}{5}{6}{4}{7}{6}{6}{7}{4}{8}{6}{6}{6}{5}{4}{9}{10}",
- new string(' ', 14), new string(')', 1),new string('|', 1),new string('/', 1),new string('.', 1),
- new string('-', 1), new string('~', 1),new string('-', 2), new string(' ', 3),new string(' ', 1),new string('\\', 1));
- Console.WriteLine("{0}{1}{2}{3}{4}{1}{5}{6}{7}{8}{9}{10}{5}{5}{1}{11}{5}{12}",
- new string(' ', 12), new string('_', 1),new string('/', 1),new string('-', 1),new string('\'', 1),new string('.', 1),
- new string('-', 1),new string('~', 1),new string(' ', 8),new string('\"', 2), new string('-', 3),
- new string('`', 1), new string('|', 1));
- Console.WriteLine("{0}{1}{2}{3}{4}{1}{2}{3}{5}{8}{9}{10}",
- new string(' ', 7),new string('_', 1),new string('.', 1), new string('-', 1),new string('~', 2),new string('~', 1),
- new string('-', 1),new string('~', 1),new string(' ', 20),new string('\"', 2), new string('\'', 1));
- Console.WriteLine("{0}{1}{2}{3}{0}{4}{5}{3}",
- new string('_', 1),new string('.', 2),new string('-', 2),new string('~', 2), new string('.', 1),new string('(', 1));
- Console.WriteLine("{0}{1}{2}{3}",
- new string('_', 1), new string('.', 2), new string('-', 2), new string('~', 2));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement