Question
All questions in C#: using System; using System.Linq; using System.Data.Linq; using System.Xml.Linq; using System.Collections; and that the following array is defined: string[] colors = {
All questions in C#:
using System;
using System.Linq;
using System.Data.Linq;
using System.Xml.Linq;
using System.Collections;
and that the following array is defined:
string[] colors = { ""green"", ""brown"", ""blue"", ""red"" };
var query = from c in colors where c.Length > 3 orderby c.Length select c;
what type is variable query?
int |
string |
IEnumerable |
IEnumerable |
IQueryable |
IQueryable |
In current .NET Framework, what assembly must be included in a project to use the SoundPlayer class?
System |
System.Media |
corelib |
Sound |
In Generic Method implementation, the ________ clause specifies the type constraint for type parameter T.
when |
constraint |
where |
cnstr |
All arrays implicitly inherit from which generic interface?
IList |
IEnumerable |
IEnumerator |
a and b |
a and c |
To avoid having to use fully qualified referenced classes, you could:
Add a reference to the class. |
Add an import statement for the class. |
Add a using directive. |
Inherit from the class. |
Package the classes in the same solution. |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started