this is a linked list in c# with a test main function