Fixed implementation of FunctionalList for C#