在.NET框架下开发三层结构的数据库应用系统时,using语句范围内定义了一个数据库连接对象,当程序执行到using语句末尾时,将自动释放此数据库对象。假设strSQL为连接字符串,以下using语句使用正确的是()。
A.
using{(SqlConnction conn=new SqlConnection(strSQL)}
B.
using(SqlConnection conn=new SqlConnection()){strSQL}
C.
using{}(SqlConnection conn=new SqlConnection(strSQL))
D.
using(SqlConnection conn=new SqlConnecion(strSQL)){}