This is a stack implementation in c# that consists of two different implementation that are array and link list.