dynamic GetAnonimusInstance()
{
return new {Name = "aaa", Number = 123};
}
public dynamic ClickableColorButton { get; set; }
interface IMyInterface1
{
string Prop1 {get;set;}
string Prop2 {get;set;}
}
interface IMyInterface2
{
string Prop1 {get;set;}
string Prop3 {get;set;}
}
class MyClass : IMyInterface1, IMyInterface2
{
string Prop1 {get; set } // Общее свойство
string Prop2 {get; set }
string Prop3 {get; set }
}