G
Guest
i have this in a class:
public void fn_X(out Int32 j)
{
j = 5;
}
i call it by using:
reportFunctionsCS rfcs = new reportFunctionsCS();
Int32 j = 0;
rfcs.fn_X(j);
it always gives me this error:
CS1502: The best overloaded method match for 'reportFunctionsCS.fn_X(out
int)' has some invalid arguments
and i have no idea why, but i'm sure it's simple!!!
--
(i''ll be asking a lot of these, but I find C# totally way cooler than vb
and there''s no go''n back!!!)
thanks (as always)
kes
public void fn_X(out Int32 j)
{
j = 5;
}
i call it by using:
reportFunctionsCS rfcs = new reportFunctionsCS();
Int32 j = 0;
rfcs.fn_X(j);
it always gives me this error:
CS1502: The best overloaded method match for 'reportFunctionsCS.fn_X(out
int)' has some invalid arguments
and i have no idea why, but i'm sure it's simple!!!
--
(i''ll be asking a lot of these, but I find C# totally way cooler than vb
and there''s no go''n back!!!)
thanks (as always)
kes