-
-
-
-
-
-
-
-
A ‘for’ loop will run faster in VB.NET or C#?
A) VB.NETB) C#C) Both of them will run equally fast.Explanation: Using default compiler settings, VB.NET includes overflow checks by default, so it runs slower than C#.
-
How do you break out of Try Catch block
A) Exit Try keywordB) CloseC) ExitExplanation: Exit try will make the code terminate from try catch block.
-
-
-
-
-
-
Which of these tools is used to display the IL contained with in a module
A) ATL Trace toolB) Spy ++C) DisassemblerExplanation: Disassembler is the tool with which one navigate the metadata with in the module
-
-
-
-
-
How to Add Data of different datatypes in same column in datagrid?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim strSql As String Dim i As Integer, totDay As Integer, j As Integer Dim dtl As New DataTable totDay = DateDiff(DateInterval.Day, CDate(Me.TextBox1.Text), CDate(Me.TextBox2.Text)) conn.Open() Dim da As SqlDataAdapter = New SqlDataAdapter("SELECT *...
VB.NET Interview Questions
Ans