Why do we put a "$" in front of our strings?

He already added the “”, so why do we need a $. It would be very nice if someone could explain me!

Hi MaisonPlayGame,

We do not need to add the $ but it is required if we want to use a C# feature called string interpolation. See here:

Did this help?


See also:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms