porketero

Untitled

Jan 29th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.33 KB | None | 0 0
  1.             StreamReader a = new StreamReader("algo.txt");
  2.             String[] c = a.ReadToEnd().Split('\n');
  3.             foreach (String b in c)
  4.                 Console.WriteLine("El parámetro \"" + b.Split(new char[] { '=' }, 2)[0] + "\" es " + b.Split(new char[] { '=' }, 2)[1]);
  5.             a.Close();
  6.             Console.ReadLine();
Add Comment
Please, Sign In to add comment