.NET using关键字
- 引用命名空间
using System;
|
- 为命名空间或类型创建别名
using aClass = NameSpace1.MyClass;
|
- using语句
using (SqlConnection cn = new SqlConnection(SqlConnectionString)){......}
|
using System;
|
using aClass = NameSpace1.MyClass;
|
using (SqlConnection cn = new SqlConnection(SqlConnectionString)){......}
|