When a function fun() is to receive an int, a single & a double and it is to return a decimal, then the correct way of defining this C# function is?
A.
static fun(int i, single j, double k)
{
return decimal;
}B.
static decimal fun(int i, single, double k)
{
}C.
decimal fun(int i, single j, double k)
{
}D.
decimal static fun(int i, single j, double k)
{
}Answer: Option B

Join The Discussion