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 _171110_Gančev_3
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.BackgroundColor = ConsoleColor.White;
- Console.ForegroundColor = ConsoleColor.Black;
- Console.Clear();
- //aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- char p1 = 'A';
- char p1_hex = '\x0041';
- char p1_cislem = (char)65;
- char p1_uni = '\u0041';
- int p1i = Convert.ToInt32(p1);
- Console.WriteLine(p1 + " " + p1i);
- Console.WriteLine("p_char_znak = 'A'; <> " + p1);
- Console.WriteLine("p_char_hexadecimalne = '\\x0041'; <> " + p1_hex);
- Console.WriteLine("p_char_cislem = (char)65; <> " + p1_cislem);
- Console.WriteLine("p_char_unikodem = '\\u0041' <> " + p1_uni + "\n");
- //bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
- char p2 = 'B';
- char p2_hex = '\x0042';
- char p2_cislem = (char)66;
- char p2_uni = '\u0042';
- int p2i = Convert.ToInt32(p2);
- Console.WriteLine(p2 + " " + p2i);
- Console.WriteLine("p_char_znak = 'B'; <> " + p2);
- Console.WriteLine("p_char_hexadecimalne = '\\x0042'; <> " + p2_hex);
- Console.WriteLine("p_char_cislem = (char)66; <> " + p2_cislem);
- Console.WriteLine("p_char_unikodem = '\\u0042' <> " + p2_uni + "\n");
- //ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
- char p3 = 'C';
- char p3_hex = '\x0043';
- char p3_cislem = (char)67;
- char p3_uni = '\u0043';
- int p3i = Convert.ToInt32(p3);
- Console.WriteLine(p3 + " " + p3i);
- Console.WriteLine("p_char_znak = 'C'; <> " + p3);
- Console.WriteLine("p_char_hexadecimalne = '\\x0043'; <> " + p3_hex);
- Console.WriteLine("p_char_cislem = (char)67; <> " + p3_cislem);
- Console.WriteLine("p_char_unikodem = '\\u0043' <> " + p3_uni + "\n");
- //ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
- char p4 = 'D';
- char p4_hex = '\x0044';
- char p4_cislem = (char)68;
- char p4_uni = '\u0044';
- int p4i = Convert.ToInt32(p4);
- Console.WriteLine(p4 + " " + p4i);
- Console.WriteLine("p_char_znak = 'D'; <> " + p4);
- Console.WriteLine("p_char_hexadecimalne = '\\x0044'; <> " + p4_hex);
- Console.WriteLine("p_char_cislem = (char)68; <> " + p4_cislem);
- Console.WriteLine("p_char_unikodem = '\\u0044' <> " + p4_uni + "\n");
- //eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
- char p5 = 'E';
- char p5_hex = '\x0045';
- char p5_cislem = (char)69;
- char p5_uni = '\u0045';
- int p5i = Convert.ToInt32(p5);
- Console.WriteLine(p5 + " " + p5i);
- Console.WriteLine("p_char_znak = 'E'; <> " + p5);
- Console.WriteLine("p_char_hexadecimalne = '\\x0045'; <> " + p5_hex);
- Console.WriteLine("p_char_cislem = (char)69; <> " + p5_cislem);
- Console.WriteLine("p_char_unikodem = '\\u0045' <> " + p5_uni + "\n");
- //fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
- char p6 = 'F';
- char p6_hex = '\x0046';
- char p6_cislem = (char)70;
- char p6_uni = '\u0046';
- int p6i = Convert.ToInt32(p6);
- Console.WriteLine(p6 + " " + p6i);
- Console.WriteLine("p_char_znak = 'F'; <> " + p6);
- Console.WriteLine("p_char_hexadecimalne = '\\x0046'; <> " + p6_hex);
- Console.WriteLine("p_char_cislem = (char)70; <> " + p6_cislem);
- Console.WriteLine("p_char_unikodem = '\\u0046' <> " + p6_uni + "\n");
- //ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg
- char p7 = 'G';
- char p7_hex = '\x0047';
- char p7_cislem = (char)71;
- char p7_uni = '\u0047';
- int p7i = Convert.ToInt32(p7);
- Console.WriteLine(p7 + " " + p7i);
- Console.WriteLine("p_char_znak = 'G'; <> " + p7);
- Console.WriteLine("p_char_hexadecimalne = '\\x0047'; <> " + p7_hex);
- Console.WriteLine("p_char_cislem = (char)71; <> " + p7_cislem);
- Console.WriteLine("p_char_unikodem = '\\u0047' <> " + p7_uni + "\n");
- //hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
- char p8 = 'H';
- char p8_hex = '\x0048';
- char p8_cislem = (char)72;
- char p8_uni = '\u0048';
- int p8i = Convert.ToInt32(p8);
- Console.WriteLine(p8 + " " + p8i);
- Console.WriteLine("p_char_znak = 'H'; <> " + p8);
- Console.WriteLine("p_char_hexadecimalne = '\\x0048'; <> " + p8_hex);
- Console.WriteLine("p_char_cislem = (char)72; <> " + p8_cislem);
- Console.WriteLine("p_char_unikodem = '\\u0048' <> " + p8_uni + "\n");
- //iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
- char p9 = 'I';
- char p9_hex = '\x0049';
- char p9_cislem = (char)73;
- char p9_uni = '\u0049';
- int p9i = Convert.ToInt32(p9);
- Console.WriteLine(p9 + " " + p9i);
- Console.WriteLine("p_char_znak = 'I'; <> " + p9);
- Console.WriteLine("p_char_hexadecimalne = '\\x0049'; <> " + p9_hex);
- Console.WriteLine("p_char_cislem = (char)73; <> " + p9_cislem);
- Console.WriteLine("p_char_unikodem = '\\u0049' <> " + p9_uni + "\n");
- //zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
- char p10 = 'Z';
- char p10_hex = '\x005A';
- char p10_cislem = (char)90;
- char p10_uni = '\u005A';
- int p10i = Convert.ToInt32(p10);
- Console.WriteLine(p10 + " " + p10i);
- Console.WriteLine("p_char_znak = 'Z'; <> " + p10);
- Console.WriteLine("p_char_hexadecimalne = '\\x005A'; <> " + p10_hex);
- Console.WriteLine("p_char_cislem = (char)90; <> " + p10_cislem);
- Console.WriteLine("p_char_unikodem = '\\u005A' <> " + p10_uni + "\n");
- Console.WriteLine("Odentruj!");
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement