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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does static mean in c sharp?

584


What's the difference between System.String and System..StringBuilder in C#?

512


Why are local variables stored in stack?

566


What does out mean c#?

486


What are the fundamental principles of oo programming?

509






Which of the following operations can you not perform on an ado.net dataset?

522


Is array a collection c#?

535


How do you escape in c#?

516


write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1880


What is dictionary and hashtable in c#?

477


How can I get the ascii code for a character in c#?

574


Is php easier than c#?

507


Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

527


What is a copy constructor in c#?

502


What is a string c#?

493