Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
VS2005 で次のコードがコンパイルされないのはなぜですか?
List<DbParameter> params = new List<DbParameter>();
paramsC#の予約済みキーワードで
params
別の変数名を使用するか、前に@
@
List<DbParameter> @params = new List<DbParameter>();
変数名paramsは予約済みのキーワードです。変更してください。