How are partial methods used in C# 3.0?

前端 未结 5 1123
终归单人心
终归单人心 2020-12-31 02:57

I have read about partial methods in the latest C# language specification, so I understand the principles, but I\'m wondering how people are actually using them. Is there a

5条回答
  •  攒了一身酷
    2020-12-31 03:16

    Code generation is one of main reasons they exist and one of the main reasons to use them.


    EDIT: Even though that link is to information specific to Visual Basic, the same basic principles are relevant to C#.

提交回复
热议问题