when taking the beginning steps of programming a game from scratch, what kind of code would you usually start off with? i am trying to learn to make a 2d game from scratch but confused where to start learning? any ideas?
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.