Web Services Interview Questions and Answers
9. |
What are the restrictions in Serialization? |
|
- The XML serialization is applicable only to the public parameter less constructor.
- Read only properties in a class cannot be serialized.
- Public fields only serialized (not private).
|
10. |
Define anchoring? |
|
It allows controls to stay at a fixed distance from the side of the container, even when the control is resized. |
11. |
What's the difference between windows Default Location and Windows Default Bounds? |
|
Windows Default Location tells the form to start up at a location selected by OS, but with internally specified size.
Windows Default Bounds delegates both size and starting position choices to the OS. |
12. |
Define Docking? |
|
It allows controls to extend themselves along the sides of their container (Form). When parent containers are resized, all controls move. |