Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Despacito2
- {
- public class GenericList<T>
- {
- public void Add(T input) { }
- }
- class Program
- {
- struct Zombie
- {
- int Hp;
- int attack;
- int defense;
- }
- static void Main(string[] args)
- {
- List<int> list = new List<int> { 1, 3, 5 /*4342143*/ };
- list.Add(4342143); // ^0 ^1 ^2 ^3
- list.RemoveAt(2);
- int[] IntArray = new int[5];
- IntArray[0] = 3;
- IntArray[1] = 5;
- IntArray[2] = 7;
- IntArray[3] = 9;
- IntArray[4] = 63;
- for (int i = 0; i <= 4; i++)
- {
- Console.WriteLine(IntArray[i]);
- }
- /* foreach (int i in list)
- {
- Console.Write("{0}\t", i.ToString());
- }*/
- Console.WriteLine();
- // Declare a list of type string.
- GenericList<string> list2 = new GenericList<string>();
- list2.Add("");
- String smorc = Console.ReadLine();
- if (smorc == "SMORC") {
- Console.WriteLine("░░░░▄▀▀▀▀▀█▀▄▄▄▄░░░░");
- Console.WriteLine("░░▄▀▒▓▒▓▓▒▓▒▒▓▒▓▀▄░░");
- Console.WriteLine("▄▀▒▒▓▒▓▒▒▓▒▓▒▓▓▒▒▓█░");
- Console.WriteLine("█▓▒▓▒▓▒▓▓▓░░░░░░▓▓█░");
- Console.WriteLine("█▓▓▓▓▓▒▓▒░░░░░░░░▓█░");
- Console.WriteLine("▓▓▓▓░░░░▄▄▄▄░░░▄█▄▀░");
- Console.WriteLine("░▀▄▓░░▒▀▓▓▒▒░░█▓▒▒░░");
- Console.WriteLine("▀▄░░░░░░░░░░░░▀▄▒▒█░");
- Console.WriteLine("░▀░▀░░░░░▒▒▀▄▄▒▀▒▒█░");
- Console.WriteLine("░░▀░░░░░░▒▄▄▒▄▄▄▒▒█░");
- Console.WriteLine(" ░░░▀▄▄▒▒░░░░▀▀▒▒▄▀░░");
- Console.WriteLine("░░░░░▀█▄▒▒░░░░▒▄▀░░░");
- Console.WriteLine("░░░░░░░░▀▀█▄▄▄▄▀");
- }
- Console.Read();
- // Declare a list of type ExampleClass.
- //GenericList<ExampleClass> list3 = new GenericList<ExampleClass>();
- //list3.Add(new ExampleClass());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement