c# - Display a & in a menuitem or menustrip -


I have a menu item like this, but & amp; An underscore is converted into what can actually be an escape character? & Amp;?

just '& amp; Character '

  menuItem.Text = "foo and bar";  

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -