Partial class in different namespaces

前端 未结 6 628
再見小時候
再見小時候 2020-11-30 09:50

Can I create partial class in different namespaces? Will it work correct? e.x.:

class1.cs

namespace name1
{
    public partial class Foo
    {
               


        
6条回答
  •  执念已碎
    2020-11-30 10:17

    Restrictions on partial classes and method from MSDN https://msdn.microsoft.com/en-us/library/wa80x488.aspx

提交回复
热议问题