How to create class level variable that can be assigned
value at the time of declaration and in the constructor
alone?



How to create class level variable that can be assigned value at the time of declaration and in th..

Answer / guest

Declare it with ReadOnly modifier

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Dot Net WindowsForms Interview Questions

What are window applications?

0 Answers  


List out controls which does not have events?

8 Answers   Silicon,


i already displaying one datagrid. now i want to make change to particular column header i.e i want to split that column header and it includes one more header.... write a code for that in windows application using C#.net

0 Answers  


Are windows forms still used?

0 Answers  


What is the use of stretch property in Image control?

1 Answers  






how find recored from the database

2 Answers   Wipro,


How insert record in the database?

0 Answers  


What is the full form of gac?

0 Answers  


What is the difference between a document and a form?

0 Answers  


Explain the new events in textbox that has been included in vb?

0 Answers  


What is form design?

0 Answers  


How many nuber of controls are there in form?

1 Answers   Morgan Stanley,


Categories