The difference between the key work 'var' and 'dynamic'.

     
 

Can be used as ‘return value’.

Can’t be used as ‘return value’.

 

sdfsdf

sdfsdf

 This keyword allows you to
define a local variable without explicitly
specifying the underlying data type. The variable, however, is strongly typed,
as the compiler will determine the correct data type based on the initial assignment.

posted @ 2015-02-02 11:05  海川0  阅读(53)  评论(0)    收藏  举报