Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I had completely janked up my if logic. All sorted now!
Check your previous returns and try to see why it's returning early, or why it's not reaching the 'else' part. Console.WriteLine is your friend.
I think you're exactly right, tried changing it to return a literal string and it's still labeled String.Empty, thank you for your help :)
Your code must be not reaching that line, because null and empty string are 2 different things.
Sorry if this is just me being dumb, I'm stuck with the error:
Test Failed
Expected: null
But was: <string.Empty>
I am returning a null value with : return null;
Is this not the way to do it in C#? I've tried googling but found nothing but discussion on the difference between null and String.Empty, which doesn't exactly help me.