Advertisement
porketero

Untitled

Jan 29th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 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();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement