what is the datatype for var while passing as arguments

Posted by Oswaldlily under ASP.NET on 8/16/2012 | Points: 10 | Views : 901 | Status : [Member] | Replies : 1
I hav linq query in "var" variable as follows
var _dc=(from r in tablename where......)

now i need to pass this _dc into function as arguments..
what should be my datatype for this _dc


Posted by: Gopesh9 on: 8/17/2012 [Member] Starter | Points: 25

You should use var datatype only....

G. S.
.Net Developer

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response