MCQs
The code to specify stoppage of the iterator using 'yield break' statement When this statement executes, the iterator signals that the end of the collection has been reached, which effectively stops the iterator.
Output: U T S R Q P O N M L
All processes have at least one thread for execution, which is usually called the main thread because it is the primary thread that is
executed when our program begins.From the main thread, we can create other threads.
A mutex is a mutually exclusive synchronization object. This means it can be acquired by one and only one thread at a time. The mutex is designed for those situations in which a shared resource can be used by only one thread at a time
Abs() returns the absolute value of a variable
MemberInfo includes two abstract methods: GetCustomAttributes( ) and IsDefined( ). These both relate to attributes. The first obtains a list of the custom attributes associated with the invoking object. The second determines if an attribute is defined for the invoking object. The .NET Framework Version 4.0 adds a method called GetCustomAttributesData(), which returns information about custom attributes
Output: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20