Create Content Editor web part programmaticaly
ContentEditorWebPart webpart = new ContentEditorWebPart();
webpart.Title = "Your title";
XmlDocument xmlDoc = new XmlDocument();
XmlElement xmlElement = xmlDoc.CreateElement("Root");
xmlElement.InnerText = @"<ul>
<li> Your list item....
</ul>
</li>
</ul>";
webpart.Content = xmlElement;