次のように、通常のクラスと部分クラスを組み合わせることは可能ですか?
public class ClassA
{
public string PropertyA {get; set;}
}
public partial class ClassA
{
public string PropertyB {get; set;}
}
コードの結果は次のようになります。
var instance = new ClassA();
instance.PropertyA = "Something";
instance.PropertyB = "Something else";
C# はこのパターンをサポートしていますか?
よろしくお願いします!