StrangeWill
IS-IT--Management
This one seems complated to me so here is the idea of what I want:
class MenuItem
{
private ConsoleKey obj_Key;
private METHOD Method;
public void RunMenuItem()
{
Method();
}
}
Basically I want to be able to assign a Method, and be able to call it, I want to be able to assign different Methods to multiple instances of the same object so one MenuItem may call DoAdd() while another may do DoDelete()
I need help with this ASAP!
class MenuItem
{
private ConsoleKey obj_Key;
private METHOD Method;
public void RunMenuItem()
{
Method();
}
}
Basically I want to be able to assign a Method, and be able to call it, I want to be able to assign different Methods to multiple instances of the same object so one MenuItem may call DoAdd() while another may do DoDelete()
I need help with this ASAP!