Interview question: What is the use of “using” keyword in C#?
In C#, we use “using” keyword for two different purpose. “Using” keyword is used to include a namespace in the program. A program generally has multiple using statements. The using statement is used to obtain a resource, execute a statement, and then dispose of that resource. Example: using (SqlConnection dbConn = new SqlConnection(conn)){ // Your…
Read More “Interview question: What is the use of “using” keyword in C#?” »