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 events?

4 Answers  


Which event occurs when a user drags an item in a treeview or listview control?

0 Answers  


write a program to create login form

1 Answers  


Tell a very common use of private constructor?

1 Answers   Arctern,


What are the forms of database?

0 Answers  






how to call constructor in abstract class

2 Answers  


How many types of dialog boxes windows provides?

0 Answers  


How to get records from a database?

0 Answers  


What is form description?

0 Answers  


How do you display an editable drop-down list?

1 Answers  


Which window displays messages for the status of various features provided in the visual studio .net ide?

0 Answers  


What is the use of runworkasync() methods?

0 Answers  






Categories