To add a separator menu item to a context menu in a .NET Framework application, you simply have to add a menu item with the Text property set to "-". Here is an example of the required code: // creating the context menu System.Windows.Forms.ContextMenu