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

Can we inherit abstract class in c#?

0 Answers  


How do I stop my console from closing in c#?

0 Answers  


Which is the best way for keeping the data in XML or SQL server..and why?

8 Answers   Infosys, Satyam,


Explain the types of errors in c#?

0 Answers  


Explain Constructor and destructor?

0 Answers  






Which control cannot be placed in mdi?

0 Answers  


Differentiate between static class and singleton instance?

0 Answers  


What do you mean by string objects are immutable?

0 Answers  


How can you reference current thread of the method ?

0 Answers  


Tell me the difference between value passing and address passing?

0 Answers   NIIT,


What is lazy t?

0 Answers  


Difference between string and stringbuilder?

3 Answers   HCL, Siemens, TCS,


Categories