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
Does the variables of a private class-level inherited?
Which operator cannot be overloaded in c sharp?
Are c and c# the same thing?
What is the difference between a class and an object c#?
To whom a method is accesssed if it is marked as protected internal ?
Can you create partial delegates and enumerations?
How does yield return work c#?
Explain about ODP.net
What is 8 bit signed integer?
Define boxing and unboxing in c#?
What is the difference between Object and class adapters?
In a site to turn off cookies for one page which method is followed?
If the original method is not static you can declare an override method to be static or not?
Explain the types of comments in c#?
What is difference between dll and exe in c#?