Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Rozhraní
- {
- //StreamWriter Zapis = new StreamWriter("Ukol.txt");
- // StreamReader Cteni = new StreamReader("Ukol.txt");
- public Rozhraní()
- {
- }
- public void Add(string taskname, string taskdet)
- {
- StreamWriter Zapis = new StreamWriter("Ukol.txt");
- try
- {
- Zapis.WriteLine(taskname + ";" + taskdet);
- }
- catch
- {
- }
- finally
- {
- Zapis.Close();
- }
- }
- public void Delete()
- {
- }
- public void View()
- {
- }
- public void End()
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement