Practice Questions
Question 1 | After importing your favorite ActiveX control using the .NET toolbox, you insert an instance of it as MyControl and need to manipulate a property named State. Which of the following will result in the desired manipulation?
|
A1: | Answer A is correct. The State property is renamed during the import process to CtlState, to avoid conflicting with the existing .NET State property. Answer B is incorrect because the normal renaming method results in a property named CtlState. Answer C is incorrect because the State ... |
Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.