c# workaround for 2. semester