摘要:
结构是值类型,但在语法上常常当做类来处理struct typeNum{ public string a="hello"; public string b="world";}如果仅需要一个小的数据结构,可以考虑用结构,因为结构在性能上比类略佳。结构不支持继承,在使用前必须先初始化结构是会影响性... 阅读全文
摘要:
using 常用来引用命名空间1 using System;2 using System.Data;3 using System.Data.SqlClient;4 using System.Collections.Generic;5 using Model;6 using IDAL;7 using ... 阅读全文