gpt4 book ai didi

c# - 单独的 dll 中的部分类

转载 作者:IT王子 更新时间:2023-10-29 03:31:36 25 4
gpt4 key购买 nike

是否可以在单独的 DLL 中将两个部分(相同的命名空间、相同的类名)分配给分部类?

最佳答案

来自 MSDN -Partial Classes and Methods :

All partial-type definitions meant to be parts of the same type must be defined in the same assembly and the same module (.exe or .dll file). Partial definitions cannot span multiple modules.

关于c# - 单独的 dll 中的部分类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3858649/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com