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

Can we overload indexer in c#?

562


Why singleton class is sealed in c#?

591


What is a generic class?

622


How many aware interfaces are there?

554


Can we have 2 main methods in c#?

558






What is c# in asp net?

567


What is regex replace in c#?

614


Why do we need to override in c#?

615


How can you read 3rd line from a text file?

637


What are accessors?

607


I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.

1550


Is collection a data structure?

621


What do you mean by object pooling?

597


Difference between Value type & reference types ? and give the example in .Net?

611


What are the basic string operations? Explain.

593