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 is the synonym of form?

0 Answers  


How will calculated the net amount in tax add like total net amount = LT+ST+CESS+amount 2500 = 10%+12.5%+5.15%+amount? kindly please explain what type of formula we apply in software? Tushar

0 Answers  


____ property is used to lock a textbox to enter data.

5 Answers  


How do you customize the column content inside the datagrid?

2 Answers  


How insert recored in the database

1 Answers   Wipro,






how print PGL by XML

0 Answers   Bank Of America, Wipro,


What is dynamic linking?

0 Answers  


What are different authentication types. How do you retrieve user id in case of windows authentication?

5 Answers   Microsoft,


Tell a very common use of private constructor?

1 Answers   Arctern,


what are events?

4 Answers  


What is the difference between the add() and insert() methods of a listbox control?

0 Answers  


What are the components of gui for windows?

0 Answers  


Categories