Error in the method with a dynamic parameter and return value?

Why writes that not all code paths return a value? I use retutrn .
June 27th 19 at 15:04
1 answer
June 27th 19 at 15:06
Found the answer:

the first if has no else branch.

Find more questions by tags C#