Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Point
- {
- public string data;//информационное поле
- public Point next;//адресное поле
- public Point()//конструктор без параметров
- {
- data = null;
- next = null;
- }
- public Point(string d)//конструктор с параметрами
- {
- data = d;
- next = null;
- }
- public override string ToString()
- {
- return data + " ";
- }
- }
Add Comment
Please, Sign In to add comment