Typewriter: added MaxLength pin

First c# try: everything that i don't know is also for sure wrong.