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



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

Answer / ajay vikram

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How do I join one form to another in c#?

0 Answers  


What is the difference between firstordefault and singleordefault?

0 Answers  


What is the purpose of private constructor in c#?

0 Answers  


What is strong name in c# and how can we use it?

0 Answers   DELL,


Why do we use ienumerable in c#?

0 Answers  






What is difference between float and integer?

0 Answers  


What can we do to handle multiple exceptions?

0 Answers   Accenture,


How to sort an int array in c#?

0 Answers  


How can we give strong name to assembly? What is satellite assembly?

2 Answers   SMNetserv,


Is java better than c sharp?

0 Answers  


What are most desktop applications written in?

0 Answers  


How to use nullable types in .net?

0 Answers  


Categories