c# dynamic,maybe I should say it is just some shortcut for "Object", box and unbox, without the cast
摘要:
dynamic:void Main(){ var b="2"; dynamic a="2"; if(a.GetType()==typeof(int))b+=a; if(a.GetType()==typeof(string))b+=a; Console.WriteLine (b); Console.W... 阅读全文