My personal preference is for preformatted, because that's how you'd see code in a IDE. It means you don't need different styles for a mention of a method name and a larger code block.
Traditionally, both bold and italics are used for specific typographic conventions. Bold for emphasis, italics for foreign words, ship names, etc. Blog posts should probably respect those.
My personal preference is for preformatted, because that's how you'd see code in a IDE. It means you don't need different styles for a mention of a method name and a larger code block.
Good idea! I like it!
And would you give a specific meaning for bold and italics?
Traditionally, both bold and italics are used for specific typographic conventions. Bold for emphasis, italics for foreign words, ship names, etc. Blog posts should probably respect those.
Uhm, right.
So a good example could be
If you want to get all the items, you can call
GetList()
method.Looks good!