问题描述
如题!谢谢!
解决方案
解决方案二:
//CreateaCodeCommentwithsomeexamplecommenttext.CodeCommentcomment=newCodeComment(//Thetextofthecomment."ThiscommentwasgeneratedfromaSystem.CodeDom.CodeComment",//Whetherthecommentisacommentintendedfordocumentationpurposes.false);//CreateaCodeCommentStatementthatcontainsthecomment,inorder//toaddthecommenttoaCodeTypeDeclarationMemberscollection.CodeCommentStatementcommentStatement=newCodeCommentStatement(comment);//AC#codegeneratorproducesthefollowingsourcecodeforthepreceedingexamplecode:////ThiscommentwasgeneratedfromaSystem.CodeDom.CodeComment
时间: 2024-11-02 16:30:41