public static Node<Student>[] AllBirthDay (School s)
Node<Student>[] all = new Node<Student>[12];
for (i=0; i<all.Length; i++)
Node<Student>[] st = s.GetAr();
for (i=0; i<st.Length; i++)
Node<Student> pos = st[i];
int m = pos.GetValue().GetBirthDay().GetMonth();
all[m-1] = new Node<Student>(pos.GetValue());
all[m-1].SetNext(new Node<Student>(pos.GetValue(),all[m-1].GetNext()));
public static void Main (string[] args)
Console.WriteLine("Hello World\n");
public Node (T value, Node<T> next)
public void SetValue (T value)
public void SetNext(Node<T> next)
return this.next != null;
public override String ToString()
return this.value.ToString();