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

Explain how to find the current record position in data control?

0 Answers  


How do I change the console application in windows?

0 Answers  


How can you pause a timer control?

0 Answers  


Is typeform free?

0 Answers  


Name the property which is used to lock a textbox to enter data?

0 Answers  






How many navigational features are provided by visual studio.net ide?

0 Answers  


Which window allows viewing the resources of the servers, such as services, processes and the event log?

0 Answers  


Explain how to get records from a database?

0 Answers  


What are windows applications?

0 Answers  


List out controls which does not have events?

8 Answers   Silicon,


What are the different types of indexes in SQL Server?

3 Answers   Arctern,


How many nuber of controls are there in form?

1 Answers   Morgan Stanley,


Categories