Write Functions chapter (C Sharp)