VB .Net Question:

Write the role of New keyword?

Tweet Share WhatsApp

Answer:

New is used to initialize a new object. We sets a variable to any dattype with help of New keyword .The New keyword gives a value to the variable.We can also uses new keyword to initialize an object variable.
Example:- dim obj as new SqlDataAdapter.

Download VB .Net PDF Read All 69 VB .Net Questions
Previous QuestionNext Question
What is branching logic control in vb.net?What is difference between import System.Data.SqlClient,System.Data.Oledb?