[ DOT NET Core MCQS ]

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

[ DOT NET Core MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
491. List.Insert() Method क्या करती है?
[A] Specific Index पर Item Add करती है
[B] Item Delete करती है
[C] Item Search करती है
[D] Sort करती है
491. What does List.Insert() do?
[A] Adds Item at Specific Index
[B] Deletes Item
[C] Searches Item
[D] Sorts List
सही उत्तर: Specific Index पर Item Add करती है
व्याख्या: Specified Position पर Item Insert करती है।
Correct Answer: Adds Item at Specific Index
Explanation: Inserts item at specified position.
492. List.InsertRange() Method का उपयोग किसलिए होता है?
[A] Specific Index पर Multiple Items Add करने के लिए
[B] Delete करने के लिए
[C] Search करने के लिए
[D] Reverse करने के लिए
492. What is List.InsertRange() used for?
[A] Insert Multiple Items at Index
[B] Delete Items
[C] Search Items
[D] Reverse List
सही उत्तर: Specific Index पर Multiple Items Add करने के लिए
व्याख्या: Collection के Items Insert करती है।
Correct Answer: Insert Multiple Items at Index
Explanation: Inserts collection items at a specific index.
493. List.Count Property क्या Return करती है?
[A] Items की संख्या
[B] Last Index
[C] Boolean
[D] Capacity
493. What does List.Count return?
[A] Number of Items
[B] Last Index
[C] Boolean
[D] Capacity
सही उत्तर: Items की संख्या
व्याख्या: List में मौजूद Total Items Return करती है।
Correct Answer: Number of Items
Explanation: Returns total number of items.
494. List.Capacity Property क्या दर्शाती है?
[A] Internal Storage Capacity
[B] Current Item Count
[C] Last Index
[D] Memory Address
494. What does List.Capacity represent?
[A] Internal Storage Capacity
[B] Current Item Count
[C] Last Index
[D] Memory Address
सही उत्तर: Internal Storage Capacity
व्याख्या: List बिना Resize हुए कितने Items रख सकती है।
Correct Answer: Internal Storage Capacity
Explanation: Number of items the list can hold before resizing.
495. Dictionary.Add() Method का उपयोग किसलिए होता है?
[A] Key-Value Pair Add करने के लिए
[B] Item Delete करने के लिए
[C] Item Search करने के लिए
[D] Dictionary Clear करने के लिए
495. What is Dictionary.Add() used for?
[A] Add Key-Value Pair
[B] Delete Item
[C] Search Item
[D] Clear Dictionary
सही उत्तर: Key-Value Pair Add करने के लिए
व्याख्या: Dictionary में नया Key-Value Pair जोड़ती है।
Correct Answer: Add Key-Value Pair
Explanation: Adds a new key-value pair to the dictionary.
496. Where() Method का उपयोग किसलिए किया जाता है?
[A] Data Filter करने के लिए
[B] Data Sort करने के लिए
[C] Data Delete करने के लिए
[D] Data Insert करने के लिए
496. What is Where() used for?
[A] Filter Data
[B] Sort Data
[C] Delete Data
[D] Insert Data
सही उत्तर: Data Filter करने के लिए
व्याख्या: Condition के आधार पर Records Filter करती है।
Correct Answer: Filter Data
Explanation: Filters records based on a condition.
497. Select() Method का मुख्य उद्देश्य क्या है?
[A] Data Projection
[B] Data Delete
[C] Data Update
[D] Data Sort
497. What is the main purpose of Select()?
[A] Data Projection
[B] Delete Data
[C] Update Data
[D] Sort Data
सही उत्तर: Data Projection
व्याख्या: Required Columns या Properties Select करने के लिए।
Correct Answer: Data Projection
Explanation: Used to select required columns or properties.
498. OrderBy() Method क्या करती है?
[A] Ascending Sorting
[B] Descending Sorting
[C] Filtering
[D] Grouping
498. What does OrderBy() do?
[A] Ascending Sorting
[B] Descending Sorting
[C] Filtering
[D] Grouping
सही उत्तर: Ascending Sorting
व्याख्या: Data को Ascending Order में Sort करती है।
Correct Answer: Ascending Sorting
Explanation: Sorts data in ascending order.
499. OrderByDescending() Method का उपयोग किसलिए होता है?
[A] Descending Sorting
[B] Ascending Sorting
[C] Filtering
[D] Grouping
499. What is OrderByDescending() used for?
[A] Descending Sorting
[B] Ascending Sorting
[C] Filtering
[D] Grouping
सही उत्तर: Descending Sorting
व्याख्या: Data को Descending Order में Sort करती है।
Correct Answer: Descending Sorting
Explanation: Sorts data in descending order.
500. ThenBy() Method कब उपयोग होती है?
[A] Secondary Sorting के लिए
[B] Filtering के लिए
[C] Delete के लिए
[D] Insert के लिए
500. When is ThenBy() used?
[A] For Secondary Sorting
[B] For Filtering
[C] For Delete
[D] For Insert
सही उत्तर: Secondary Sorting के लिए
व्याख्या: Primary Sort के बाद Additional Sorting करती है।
Correct Answer: For Secondary Sorting
Explanation: Provides additional sorting after primary sort.