[ DOT NET Core MCQS ]

झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।

[ DOT NET Core MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
481. List.Clear() Method क्या करती है?
[A] सभी Items Remove करती है
[B] List Delete करती है
[C] List Sort करती है
[D] List Copy करती है
481. What does List.Clear() do?
[A] Removes All Items
[B] Deletes List
[C] Sorts List
[D] Copies List
सही उत्तर: सभी Items Remove करती है
व्याख्या: List खाली हो जाती है।
Correct Answer: Removes All Items
Explanation: Empties the list.
482. List.Contains() Method का उपयोग किसलिए होता है?
[A] Item Exist करता है या नहीं जांचने के लिए
[B] Item Add करने के लिए
[C] Item Delete करने के लिए
[D] Sort करने के लिए
482. What is List.Contains() used for?
[A] Check Item Existence
[B] Add Item
[C] Delete Item
[D] Sort
सही उत्तर: Item Exist करता है या नहीं जांचने के लिए
व्याख्या: Boolean Result Return करती है।
Correct Answer: Check Item Existence
Explanation: Returns a Boolean value.
483. List.IndexOf() Method क्या Return करती है?
[A] Item का Index
[B] Item Count
[C] Boolean
[D] Sorted List
483. What does List.IndexOf() return?
[A] Index of Item
[B] Item Count
[C] Boolean
[D] Sorted List
सही उत्तर: Item का Index
व्याख्या: पहला Matching Index Return करती है।
Correct Answer: Index of Item
Explanation: Returns first matching index.
484. List.LastIndexOf() Method क्या Return करती है?
[A] Last Matching Index
[B] First Index
[C] Count
[D] Boolean
484. What does List.LastIndexOf() return?
[A] Last Matching Index
[B] First Index
[C] Count
[D] Boolean
सही उत्तर: Last Matching Index
व्याख्या: Item की अंतिम Position Return करती है।
Correct Answer: Last Matching Index
Explanation: Returns the last matching position.
485. List.Find() Method का उपयोग किसलिए होता है?
[A] पहला Matching Item खोजने के लिए
[B] सभी Items खोजने के लिए
[C] Delete करने के लिए
[D] Sort करने के लिए
485. What is List.Find() used for?
[A] Find First Matching Item
[B] Find All Items
[C] Delete Item
[D] Sort List
सही उत्तर: पहला Matching Item खोजने के लिए
व्याख्या: Predicate के आधार पर पहला Item Return करती है।
Correct Answer: Find First Matching Item
Explanation: Returns first item matching a predicate.
486. List.FindAll() Method क्या करती है?
[A] सभी Matching Items Return करती है
[B] पहला Item Return करती है
[C] List Delete करती है
[D] Sort करती है
486. What does List.FindAll() do?
[A] Returns All Matching Items
[B] Returns First Item
[C] Deletes List
[D] Sorts List
सही उत्तर: सभी Matching Items Return करती है
व्याख्या: Predicate Match करने वाले सभी Items Return करती है।
Correct Answer: Returns All Matching Items
Explanation: Returns all items matching a predicate.
487. List.Exists() Method क्या Return करती है?
[A] Boolean
[B] Integer
[C] String
[D] Array
487. What does List.Exists() return?
[A] Boolean
[B] Integer
[C] String
[D] Array
सही उत्तर: Boolean
व्याख्या: Condition Match होने पर True Return करती है।
Correct Answer: Boolean
Explanation: Returns true if a matching item exists.
488. List.Sort() Method का उपयोग किसलिए होता है?
[A] List Sort करने के लिए
[B] List Delete करने के लिए
[C] List Search करने के लिए
[D] List Merge करने के लिए
488. What is List.Sort() used for?
[A] Sort List
[B] Delete List
[C] Search List
[D] Merge List
सही उत्तर: List Sort करने के लिए
व्याख्या: Ascending Order में Sort करती है।
Correct Answer: Sort List
Explanation: Sorts items in ascending order.
489. List.Reverse() Method क्या करती है?
[A] List Order Reverse करती है
[B] List Sort करती है
[C] List Delete करती है
[D] List Search करती है
489. What does List.Reverse() do?
[A] Reverses List Order
[B] Sorts List
[C] Deletes List
[D] Searches List
सही उत्तर: List Order Reverse करती है
व्याख्या: Items का क्रम उल्टा कर देती है।
Correct Answer: Reverses List Order
Explanation: Reverses the order of items.
490. List.BinarySearch() Method का उपयोग किसलिए होता है?
[A] Sorted List में Fast Search
[B] Delete Operation
[C] Insert Operation
[D] Sort Operation
490. What is List.BinarySearch() used for?
[A] Fast Search in Sorted List
[B] Delete Operation
[C] Insert Operation
[D] Sort Operation
सही उत्तर: Sorted List में Fast Search
व्याख्या: Binary Search Algorithm उपयोग करती है।
Correct Answer: Fast Search in Sorted List
Explanation: Uses Binary Search algorithm.