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 to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

0 Answers  


Is it possible to inline assembly or il in c# code?

0 Answers  


What is the partial class in C# What is the use of partial class in C#?

6 Answers   CTS,


How can you clean up objects holding resources from within the code?

2 Answers   L&T, Wipro,


What is datetime parse in c#?

0 Answers  






What are the differences between events and delegates in c#?

0 Answers  


what is the main differnce between const,readonly and static

3 Answers   Beehive Systems, CDAC,


What is delegates & multicast delegate?

2 Answers   Cognizant,


What is namespace c#?

0 Answers  


What is the usage of Enumeration in C# Programming and is it good to use or not ?

0 Answers   MCN Solutions,


What's the difference between system.string and system.text.stringbuilder classes?

0 Answers  


What is concrete method in c#?

0 Answers  


Categories