VB .Net Question:
Write the role of New keyword?

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.
Example:- dim obj as new SqlDataAdapter.
Previous Question | Next Question |
What is branching logic control in vb.net? | What is difference between import System.Data.SqlClient,System.Data.Oledb? |