Test Your Knowledge

VS + SQL - Lesson 2: ADO.NET Basics Quiz

Answer all questions to test your understanding

1 Which NuGet package is needed for SQL Server connections in modern .NET?
2 What is the purpose of SqlCommand in ADO.NET?
3 What does 'using' do with SqlConnection?
4 What method reads data from a SqlCommand?
5 What is SqlParameter used for?