c# - Can System.Net.Mail.Mailmessage be inherited? -


i tried inherit mailmessage class, can't. want introduce own properties in it.

when type public override , don't override options

here code

using system; using system.collections.generic; using system.linq; using system.web; using system.net.mail;  namespace foodmenu {     public class custommailmessage:mailmessage     {      } } 

no doubt class can inherited there no sealed keyword in declaration.

public class mailmessage : idisposable 

may there no property can overrided.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -