303.
Will the below syntax gives Error during compile time? public bool Getdata(int a) { if (a == 5) { return true; } }
View Description
Error thrown as "Not all code paths return a value"
The problem if 'a' is not 5 then nothing is returned