Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 21 What keyword returns null if a cast will not succeed? as is where using Question 22 What keyword brings an extension method into

Question 21

What keyword returns null if a cast will not succeed?

as
is
where
using

Question 22

What keyword brings an extension method into scope?

as
is
where
using

Question 23

You can update a GUI from any thread of execution.

True
False

Question 24

What is used to implement event in C#?

Specialized DLLs
Exceptions
Delegates
No answer text provided.

Question 25

What method do you call to start a Thread in C#?

Start()
Begin()
Jump()
Init()

Question 26

What keyword is added to a delegate to force subscribers to use += or =?

event
this
delegate
none of the above

Question 27

Which of the following best describes what a delegate is?

A strongly typed function pointer.
A lightweight thread or process that can call a single method.
A reference to an object in a different process.
An interprocess message channel

Question 28

What is the value of s after the following code?

int s = 0;

for (int i = 1; i < 100;i++)

{

if (s > 10)

{ break; }

if (i % 2 == 0)

{ s += i; }

}

15
6
12
20

Question 29

In a WPF project, there is a textbox UI element named txtAge is used for age input, which of the following can properly obtain an integer value of age?

int age = txtAge;
int age = txtAge.Text;
int age = Convert.ToInt32(txtAge);
int age = int.Parse(txtAge.Text);

Question 30

When an object of a derived class is instantiated, a base class ______ is called implicitly.

method
property
constructor
event

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2004 Workshops Edbt 2004 Workshops Phd Datax Pim P2panddb And Clustweb Heraklion Crete Greece March 2004 Revised Selected Papers Lncs 3268

Authors: Wolfgang Lindner ,Marco Mesiti ,Can Turker ,Yannis Tzitzikas ,Athena Vakali

2005th Edition

3540233059, 978-3540233053

More Books

Students also viewed these Databases questions

Question

Give a few examples for finance and investment cycle accounts.

Answered: 1 week ago

Question

=+1 Is the decision fair to employees?

Answered: 1 week ago