namespace FileApplication {
public static void Main(string[]args)
string[]names = new string[] {"Israa" , "Alaa" , "Ghada"};
using(StreamWriter sw = new StreamWriter("names.txt"))
foreach(string s in names) {
using(StreamReader sr=new StreamReader("names.txt")) {
while((line =sr.ReadLine())!=null) {
string lines = Console.ReadLine();