is Dynamic good to use instead of var
is Dynamic good to use instead of var
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ashutosh GuptaPosted Jan 4, 2020, 4:21 AM
Dynamic keywords is runtime defining data type of RHS value where var define datatype of RHS value at compile time. Dynamic use reflection. Dynamic only does invoking(i.e. public members) but in inspect meta data. Reflection does both even invoke private members.
Rajanikant HawaldarPosted Jan 4, 2020, 7:23 AM