AiSD.Laba1/Stack/Program.cs

10 lines
165 B
C#
Raw Normal View History

2023-02-16 15:52:33 +04:00
using Stack;
2023-02-15 14:40:58 +04:00
StackBooksOfList stack = new StackBooksOfList();
Book book1 = new Book();
book1.name = "Rybuf1";
stack.push(book1);
stack.printAll();
stack.pop();