HOTSPOT
You have the following code:
Use the drop-down lists to select the answer choice that completes each statement.
Hot Area:
HOTSPOT
You have the following code:
Use the drop-down lists to select the answer choice that completes each statement.
Hot Area:
According to the documentation, public static bool Contains(this IEnumerable source, TSource value); doesn’t return null:
// Returns:
// true if the source sequence contains an element that has the specified value;
// otherwise, false.
False true false is the correct answer.
Correct (false, true, false)
Dictionary doesn’t have Contains Method. The Question is wrong.
Present.
https://docs.microsoft.com/ru-ru/dotnet/api/system.collections.generic.dictionary-2.system-collections-generic-icollection-system-collections-generic-keyvaluepair-tkey-tvalue—contains?view=netframework-4.8#System_Collections_Generic_Dictionary_2_System_Collections_Generic_ICollection_System_Collections_Generic_KeyValuePair_TKey_TValue___Contains_System_Collections_Generic_KeyValuePair__0__1__
Present
https://docs.microsoft.com/en-gb/dotnet/api/system.collections.generic.dictionary-2.system-collections-generic-icollection-system-collections-generic-keyvaluepair-tkey-tvalue—contains?view=netframework-4.8
https://docs.microsoft.com/en-gb/dotnet/api/system.collections.generic.dictionary-2.system-collections-generic-icollection-system-collections-generic-keyvaluepair-tkey-tvalue—contains?view=netframework-4.8
Present
Dictionary method “Contains” can return only true or false, not nullable
+++ What stupid idiot wrote answers???
I think the first should be false.