string Test(bool @bool) => $"you're {@bool?"hired":"fired"} Have a nice day!";
The code above results in compilation error.
But why?
Notice that
string test = $"this {"is"} working";
works.
string Test(bool @bool) => $"you're {@bool?"hired":"fired"} Have a nice day!";
The code above results in compilation error.
But why?
Notice that
string test = $"this {"is"} working";
works.