I searched a lot, but couldn't find how to show '<' char in C# XML comments?
yes, %c will print a single char: printf("%c", 'h'); also, putchar / putc will work too.
%s is for string %d is for decimal (or int) %c is for character.
C uses char type to store characters and letters. However, the char type is integer type because underneath C stores integer numbers instead of characters. To represent characters, the computer has to map each integer with a corresponding character using a numerical code.
'\0' is referred to as NULL character or NULL terminator It is the character equivalent of integer 0(zero) as it refers to nothing In C language it is generally used to mark an end of a string.
Did you try the normal XML escaping of <
- that should work, I believe:
/// <summary> /// Less than is < /// Greater than is > /// Ampersand is & /// </summary>
Basically it's normal XML.
You need to escape it as in normal XML: with <
Same goes for >
for >
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With