You use < and > to perform a check the related check on numbers.
Like:
if (x > 5)
{
//do stuff
}
When doubles up it could mean a bit shift:
int i = 1 << 5; //= binary 100000
In your use case… it appears you’re trying to use them as what… quotation marks?
Or are you trying to do something like the insertion operator from C/C++?
Cause in C#, no, that’s not how you use that symbol really.
…
Also, use code tags:
1 Like