I study With #. And here I got to the topic "Partial methods". I read this topic 3 times, but I cannot understand what the book wants me to say. If you know, please reply with a simple explanation (as I doubt it), or with a sample code.
Just do not scold while testing with the console. Questions that touched me:
1) Partial methods may be static, but always private and cannot have a return value. Any parameters used in them cannot be out parameters, although they can be ref parameters. None of the following modifiers can be applied to them: virtual, abstract, override, new, sealed and extern
(why? should be based on something all of this).
2) why cannot partial methods have a return type?
(why always void?)