[C-Sharp Programming MCQS ]

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

[ C-Sharp Programming MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
451. Configure method का उपयोग क्या करता है?
[A] Database schema define करना
[B] HTTP request pipeline configure करना
[C] Thread create करना
[D] Memory allocate करना
451. What does Configure method do?
[A] Define database schema
[B] Configure HTTP request pipeline
[C] Create thread
[D] Allocate memory
सही उत्तर: HTTP request pipeline configure करना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Configure HTTP request pipeline
Explanation: Important question.
452. Routing का मुख्य उद्देश्य क्या है?
[A] Memory management
[B] URL mapping to controllers/actions
[C] Thread control
[D] File handling
452. What is the main purpose of routing?
[A] Memory management
[B] Map URL to controllers/actions
[C] Thread control
[D] File handling
सही उत्तर: URL mapping to controllers/actions
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Map URL to controllers/actions
Explanation: Important question.
453. Attribute Routing क्या है?
[A] Database routing
[B] URL define using attributes in controllers
[C] Thread routing
[D] Memory routing
453. What is attribute routing?
[A] Database routing
[B] Define URL using attributes in controllers
[C] Thread routing
[D] Memory routing
सही उत्तर: URL define using attributes in controllers
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Define URL using attributes in controllers
Explanation: Important question.
454. Span का मुख्य उद्देश्य क्या है?
[A] Heap memory allocation बढ़ाना
[B] High-performance memory slicing without allocation
[C] Database optimization
[D] Thread creation
454. What is the main purpose of Span?
[A] Increase heap allocation
[B] High-performance memory slicing without allocation
[C] Database optimization
[D] Thread creation
सही उत्तर: High-performance memory slicing without allocation
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: High-performance memory slicing without allocation
Explanation: Important question.
455. TaskCompletionSource का उपयोग किसलिए होता है?
[A] Synchronous execution के लिए
[B] Manually completing a Task
[C] Thread creation
[D] Database connection
455. What is TaskCompletionSource used for?
[A] Synchronous execution
[B] Manually completing a Task
[C] Thread creation
[D] Database connection
सही उत्तर: Manually completing a Task
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Manually completing a Task
Explanation: Important question.
456. IAsyncEnumerable का उपयोग किसलिए होता है?
[A] Batch processing with async streaming
[B] Thread locking
[C] Memory allocation
[D] File compression
456. What is IAsyncEnumerable used for?
[A] Thread locking
[B] Async streaming / batch processing
[C] Memory allocation
[D] File compression
सही उत्तर: Batch processing with async streaming
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Async streaming / batch processing
Explanation: Important question.
457. Yield return का फायदा क्या है?
[A] Full collection return करता है
[B] Lazy iteration provide करता है
[C] Memory delete करता है
[D] Thread create करता है
457. What is the benefit of yield return?
[A] Returns full collection
[B] Provides lazy iteration
[C] Deletes memory
[D] Creates thread
सही उत्तर: Lazy iteration provide करता है
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Provides lazy iteration
Explanation: Important question.
458. ConcurrentBag का use कब किया जाता है?
[A] Ordered collection के लिए
[B] Thread-safe unordered collection के लिए
[C] Database storage
[D] File handling
458. When is ConcurrentBag used?
[A] Ordered collection
[B] Thread-safe unordered collection
[C] Database storage
[D] File handling
सही उत्तर: Thread-safe unordered collection के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Thread-safe unordered collection
Explanation: Important question.
459. ImmutableList का मुख्य फायदा क्या है?
[A] Fast modification
[B] Thread-safe immutable operations
[C] Database indexing
[D] Memory leak
459. What is the main benefit of ImmutableList?
[A] Fast modification
[B] Thread-safe immutable operations
[C] Database indexing
[D] Memory leak
सही उत्तर: Thread-safe immutable operations
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Thread-safe immutable operations
Explanation: Important question.
460. Record type C# में किसलिए introduce किया गया?
[A] UI design
[B] Immutable data models
[C] Thread handling
[D] Database creation
460. Why were record types introduced in C#?
[A] UI design
[B] Immutable data models
[C] Thread handling
[D] Database creation
सही उत्तर: Immutable data models
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Immutable data models
Explanation: Important question.