static void Main(string[] args) { var eventLoop = new EventLoop(); var cursorHandler = new CursorHadler(); eventLoop.Run(cursorHandler.GoLeft, cursorHandler.GoRight, cursorHandler.GoUp, cursorHandler.GoDown); }