VB .Net Question:
Download Questions PDF

Why is it not a good idea to insert code into InitializeComponent method when working with Visual Studio?

VB .Net Interview Question
VB .Net Interview Question

Answer:

The designer will likely through it away, most of the code inside InitializeComponent is auto-generated.

Download VB .Net Interview Questions And Answers PDF

Previous QuestionNext Question
So how do you retrieve the customized properties of a .NET application from XML .config file? Can you automate this process?Where do you add an event handler?