{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
Test: First Smart Device Program in C# Explained

3. If you were to manually (from the code) set the size of a label named label1 in a smart device application using .NET Compact Framework and C#, which of the following line would you use?



Results
Congratulations! Correct Answer.
You Answered: None. If you took the test, your answer will show up here.
Correct Answer: this.label1.Size = new System.Drawing.Size(174, 20);
Explanation
One of the constructors of Size takes width and height integers as parameters. So, a new instance of Size would come from the following:

this.label1.Size = new System.Drawing.Size(174, 20);
Take the Test
Take the complete test on this topic. You will be able to review answers to questions and get a test score.

Take the Test


Question 3 of 5


Test is Based on this Article
icon-first-smart-device-running.jpg
This article discusses and analyzes various aspects in creating the first smart device program using .NET Framework and C#.
How would you start with developing a Windows Mobile program using C# programming language?

More Articles With Similar Tags
This test has questions on developing basic web services with C# programming language.
This test has questions on the basics of developing an ASP.NET server control program with C# programming language.
Test your knowledge on the basics involved in creating the first ASP.NET Server Control program using C#.
How would you start with developing a Windows Mobile program using C# programming language?
icon-first-aspnet-server-control-solution-explorer.jpg
This article analyzes and explains the first ASP.NET Server Control. Server Controls have functionality and user interface that can be plugged into web application projects easily.
                                                                                                                                                                                                             
About  Contact  Privacy Policy  Site Map