SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace –°SLight13
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.  
  14.            
  15.  
  16.  
  17.             for (int i = 0; i < file.GetLength(0); i++)
  18.             {
  19.                 Console.Write(file[i] + " ");
  20.                
  21.                 Console.WriteLine();
  22.             }
  23.         }
  24.  
  25.         static void FileMssive(string[])
  26.         {
  27.             string[] file = new string[0];
  28.  
  29.             string addToFile = Console.ReadLine();
  30.  
  31.             string[] tempFile = new string[file.Length + 1];
  32.             for (int i = 0; i < file.Length; i++)
  33.             {
  34.                 tempFile[i] = file[i];
  35.             }
  36.  
  37.             tempFile[tempFile.Length - 1] = addToFile;
  38.             file = tempFile;
  39.         }
  40.     }
  41. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top