我有这样的功能:
example(long a,long b,string c,DateTime d,DateTime e,out decimal f)
当我试图调用它时,我正在这样做:
long a =1;
long b=2;
string c="";
DateTime d=DateTime.Now;
DateTime e=DateTime.Now;
decimal f=0;
example(a,b,c,d,e,f) --> Here is giving me the error : the best overloaded method has some invalid argument
你能帮我解决这个问题吗