c# - How do you exit from another method? -


is there anyway can exit method method this?

            if (workisdone())             xceed.wpf.toolkit.messagebox.show("done");             return.workisdone(); // or that?????             dispatchertimer timer = (dispatchertimer)sender;             timer.stop();             timer = null;         }     } 

if (workisdone()) {     xceed.wpf.toolkit.messagebox.show("done");     return; } dispatchertimer timer = (dispatchertimer)sender; timer.stop(); timer = null; 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -