Riddle me thisString outputs

time to read 1 min | 108 words

What would be the result of this?

public string Wrap(string x, string y)
{
   return "[" + x ?? y + "]";
}

Can you see the bug?

More posts in "Riddle me this" series:

  1. (12 Oct 2010) File access & Multi threading
  2. (06 May 2010) String outputs
  3. (02 May 2010) Hard links & file moves