using System;using Microsoft.CSharp.RuntimeBinder;public class Test
{voidFoo(){}public static intMain(){dynamic d =newTest();var t1 =true? d :2;
t1.Foo();var t2 =true?1: d;if(t2 !=1)return1;try{
t2.Foo();return2;}catch(RuntimeBinderException) {}return0;}}