can any one explain clearly what is the difference between the Method and a Function, if possible by using some syntax and examples.