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

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

1 Answers   Arctern,


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

0 Answers  


What is formdata?

0 Answers  


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  


Which template creates a .net compact framework 2.0 forms application for pocket pc 2003 and later?

0 Answers  


Which of the following position is the default docking position of the statusstrip control on the 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  


What is the use of runworkasync() methods?

0 Answers  


How to show a ContextMenuStrip instead of cthe default ContextMenuStrip,when you rightclick on the non client area of a window's Form or when alt+space keys are pressed

0 Answers  


What is the use of form?

0 Answers  


Which controls have refresh method?

3 Answers  


How do you display an editable drop-down list?

1 Answers  


Categories