What are the benefits to using a partial class as opposed to an abstract one?

后端 未结 8 1640
花落未央
花落未央 2021-01-18 01:19

I have been reading Programming Microsoft® Visual C#® 2008: The Language to get a better understanding of C# and what can be done with it. I came across partial classes whic

8条回答
  •  礼貌的吻别
    2021-01-18 01:54

    Purpose of partial classes is to allow a class's definition to span across multiple files. This can allow better maintainability and separation of your code.

提交回复
热议问题