VladikOtez

ArrayToStr

Nov 11th, 2016
137
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int[,] arr= new int[100,100];
  2. int n = int.Parse(Console.ReadLine());
  3.  
  4. int i ;
  5. int j;
  6. for (i=0; i<n; i++)
  7. {
  8.  
  9. for(j=0; j<n; j++)
  10. {
  11. string enterString = Console.ReadLine();
  12. string[] massiveString= enterString.Split(' ')
  13.  arr[i,j]= int.Parse(massiveString);
  14. }
  15.  
  16. Console.WriteLine();
  17. }
RAW Paste Data