Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleTest
- {
- class ConsoleTest
- {
- static void Main()
- {
- Console.OutputEncoding = System.Text.Encoding.Unicode;
- byte size = 15;
- for (int i = 0, j = 1, k = size; i < size; i++, j += 2, k--)
- {
- if (i > 0 && i < size - 1)
- {
- Console.Write(new string(' ', k));
- Console.Write(new string('\u00A9', 1));
- Console.Write(new string(' ', j-2));
- Console.Write(new string('\u00A9', 1));
- Console.Write(new string(' ', k));
- Console.WriteLine();
- }
- else
- {
- Console.Write(new string(' ', k));
- Console.Write(new string('\u00A9', j));
- Console.Write(new string(' ', k));
- Console.WriteLine();
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment