what type is variable query?
The compiler translates this query to:
IEnumerable<string> query = colors .Where (c => c.Length > 3) .OrderBy (c => c.Length);
The Where and OrderBy methods, in this case, resolve to Enumerable.Where and Enumerable.OrderBy, which both return IEnumerable<T>. T is inferred to be stringbecause we haven't transformed or projected the input sequence elements in any way.
In current .NET Framework, what assembly must be included in a project to use the SoundPlayer class?
To play a sound using the SoundPlayer class, configure a SoundPlayer with a path to the .wav file and call one of the play methods.
In Generic Method implementation, the ________ clause specifies the type constraint for type parameter T.
The where clause in a generic definition specifies constraints on the types that are used as arguments for type parameters in a generic type, method, delegate
All arrays implicitly inherit from which generic interface?
a and b
All arrays implicitly inherit from the generic interfaces IList and Innumerable with the type of thearray as the type argument, so the string array colors2 implements IEnumerable< string >