Right, one thing I don't understand. The end section on Static Functions.
I understand how the code works, I just don't understand the purpose of putting a function inside a type. Surely that is just a renamed 'method'?
What is the difference?
Also, when is it right to use a method, or a function? and when should you put a function insdie a type, as opposed to having it outside?
I understand how the code works, I just don't understand the purpose of putting a function inside a type. Surely that is just a renamed 'method'?
What is the difference?
Also, when is it right to use a method, or a function? and when should you put a function insdie a type, as opposed to having it outside?