1. Table form in excel
2. Converted type format
3. Formula code in excel
="/// <summary>"&CHAR(10)&"///"&C4&CHAR(10)&"///"&UPPER(B4)&CHAR(10)&"///</summary>"&CHAR(10)&"public"&IF(ISNUMBER(FIND("number",B4))," double "," string ")&UPPER(A4)&";"
Among them, A4/B4/C4 are all replaceable contents.
Among them, several formulas in Excel are mainly used, which are
IF() //判断
ISNUMBER() //判断是否为数字
FIND() //找到字符串
UPPER() //大写
CHAR(10) //自动换行
& //字符串拼接