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
What is the signature of a method?
Explain the difference between event and a delegate in c#?
What is a must for multitasking
When should we use delegates in c#?
What is stringreader in c#?
What is cli in c#?
What are access modifiers in c#?
What is default boolean value in c#?
Is visual c# free?
What is an Interface in C#?
Is hashset ordered c#?
How many types of serialization are there in c#?
How will you allow a class to be inherited, but prevent the method from being over-ridden?
When was c# created?
How to add controls dynamically to the form using c#.net.