Advertisement
Guest User

Untitled

a guest
May 26th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. using System.Collections.Generic;
  2.  
  3. namespace FileCreator
  4. {
  5. public class GraphObject
  6. {
  7. private int offsetGraph { get; set; }
  8. private int offsetName { get; set; }
  9. public int id { get; set; }
  10. private List<int> neightbours { get; set; }
  11. private bool isArticle { get; set; }
  12.  
  13. public GraphObject()
  14. {
  15. neightbours = new List<int>();
  16. }
  17.  
  18. void addNeightbour(int nID)
  19. {
  20. neightbours.Add(nID);
  21. }
  22.  
  23. public int amountOfNeightbours()
  24. {
  25. return this.neightbours.Count;
  26. }
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement