public KnowledgeBaseInfo()
 {
     this.Author         = "";
     this.Copyright      = "";
     this.License        = "";
     this.AuthorWebsite  = "";
     this.CreationDate   = System.DateTime.Now;
     this.LastUpdateDate = System.DateTime.Now;
     this.Rating         = new KnowledgeBaseRating();
     this.Language       = LanguageType.English;
     this.Category       = CategoryType.Other;
     this.Comment        = "";
 }        //KnowledgeBaseInfo
        }        //KnowledgeBaseInfo

        protected KnowledgeBaseInfo(SerializationInfo info, StreamingContext context)
        {
            this.Author         = (string)info.GetString("a");
            this.Copyright      = (string)info.GetString("copy");;
            this.License        = (string)info.GetString("lic");;
            this.AuthorWebsite  = (string)info.GetString("aw");
            this.CreationDate   = (System.DateTime)info.GetValue("cd", typeof(System.DateTime));
            this.LastUpdateDate = (System.DateTime)info.GetValue("lud", typeof(System.DateTime));
            this.Rating         = (KnowledgeBaseRating)info.GetValue("r", typeof(KnowledgeBaseRating));
            this.Language       = (LanguageType)info.GetValue("lang", typeof(LanguageType));
            this.Category       = (CategoryType)info.GetValue("cat", typeof(CategoryType));
            this.Comment        = info.GetString("comment");
            //use a try/catch block around any new vales
        }
 protected KnowledgeBaseInfo(SerializationInfo info, StreamingContext context)
 {
     this.Author = (string)info.GetString("a");
     this.Copyright = (string)info.GetString("copy");;
     this.License = (string)info.GetString("lic");;
     this.AuthorWebsite = (string)info.GetString("aw");
     this.CreationDate = (System.DateTime)info.GetValue("cd", typeof(System.DateTime));
     this.LastUpdateDate = (System.DateTime)info.GetValue("lud", typeof(System.DateTime));
     this.Rating = (KnowledgeBaseRating)info.GetValue("r", typeof(KnowledgeBaseRating));
     this.Language = (LanguageType)info.GetValue("lang", typeof(LanguageType));
     this.Category = (CategoryType)info.GetValue("cat", typeof(CategoryType));
     this.Comment = info.GetString("comment");
     //use a try/catch block around any new vales
 }
        private string comment; //drop description in favor of this

        #endregion Fields

        #region Constructors

        public KnowledgeBaseInfo()
        {
            this.Author = "";
            this.Copyright = "";
            this.License = "";
            this.AuthorWebsite = "";
            this.CreationDate = System.DateTime.Now;
            this.LastUpdateDate = System.DateTime.Now;
            this.Rating = new KnowledgeBaseRating();
            this.Language = LanguageType.English;
            this.Category = CategoryType.Other;
            this.Comment = "";
        }