|
well a while back i came across an interesting method in c#, where i can call any function i want on the fly, as long as the function exists in the exe i can call it as in i was calling a function. say i have a text box on a form, and in my exe exists a function called Resize_Window with a parameter for the size in this format x_y. i can type Resize_Window 200x200 and it immediately calls and resizes the window without doing any real checks except just to make sure the function receives the correct parameters. also, if i wanted to extend functionality, all i need do is add the function to the program, no extra work would be needed to make sure it can be used.
|