Or, if you really need to pass a lot of information, such as configuration, make it as a class. (this is all C++ tho, but i'm pretty sure it works in C#).
then, in the constructor, initialize to your default params:
then, in your codez, you call to it;
there you go.
class EngineInitialization { public: int x; // (bad practice; for sake of simplicity) int y; EngineInitialization(); }
then, in the constructor, initialize to your default params:
EngineInitialization::EngineInitialization() { x = 1280; y = 960; }
then, in your codez, you call to it;
int main() { EngineInitialization init; init.y = 1024; engineInit( init ); }
there you go.