Some classical tasks  of programming on language C#