; i + +) (Elem [i] isRequest)
{. WriteLine (Elem [i]. ShowInfo ());. WriteLine ();
}
} (type == 2)
{i = 0; (i = 0; i <= (count - 1); i + +) (Elem [i] isStatement)
{. WriteLine (Elem [i]. ShowInfo ());. WriteLine ();
}
} (type == 3)
{i = 0; (i = 0; i <= (count - 1); i + +) (Elem [i] isRectorsOrder)
{. WriteLine (Elem [i]. ShowInfo ());. WriteLine ();
}
}. WriteLine ();. WriteLine ("Пошук завершений.");. WriteLine ();
}
{i = 0;
// string s; ok = false; ((! ok) && (i <= (count - 1)))
{(Elem [i]. Number == num) = true; i + +;
} (ok)
{. WriteLine (Elem [i]. ShowInfo ());. WriteLine ();
}. WriteLine ();. WriteLine ("Пошук завершений.");. WriteLine ();
}
{i = 0; (i = 0; i <= (count - 1); i + +) ((Elem [i]) isRequest && (Elem [i] asRequest). FromWho == name)
{. WriteLine (Elem [i]. ShowInfo ());. WriteLine ();
}. WriteLine ();. WriteLine ("Пошук завершений.");. WriteLine ();
}
{i = 0; (i = 0; i <= (count - 1); i + +) ((Elem [i]) isStatement && (Elem [i] asStatement). Course == c && (Elem [i] asStatement). Group == g)
{. WriteLine (Elem [i]. ShowInfo ());. WriteLine ();
}. WriteLine ();. WriteLine ("Пошук завершений.");. WriteLine ();
}
{i = 0; (i = 0; i <= (count - 1); i + +) ((Elem [i]) isStatement && (Elem [i] asStatement). SubjName == subj)
{. WriteLine (Elem [i]. ShowInfo ());. WriteLine ();
}. WriteLine ();. WriteLine ("Пошук завершений.");. WriteLine ();
}
{i = 0; (i = 0; i <= (count - 1); i + +) ((Elem [i]) isRectorsOrder && (Elem [i] asRectorsOrder). PersonResponsible == resp)
{. WriteLine (Elem [i]. ShowInfo ());. WriteLine ();
}. WriteLine ();. WriteLine ("Пошук завершений.");. WriteLine ();
}
// ---------------------------------------- -------------------------------------
}
}
МодульProgram.csSystem;. Collections.Generic;. Linq;. Text; task2