Consider using a game framework like Monogame. Alternatively, you may leverage libraries that allow you to create windows and OpenGL contexts, like SDL2 or GLFW. They likely have C# bindings.