It is a very small problem :) Remove space after $
:
WriteLine($"The first number is {comparison} the second number");
See proper structure under documentation:
$"<text> {<interpolated-expression> [,<field-width>] [:<format-string>] } <text> ..."
I've requested an edit that explains that there must be no spacing after the $
and now it states: