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... 阅读全文
posted @ 2015-12-10 15:13
calochCN
阅读(121)
评论(0)
推荐(0)
浙公网安备 33010602011771号