[C-Sharp Programming MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ C-Sharp Programming MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
441. Singleton pattern का क्या use है?
[A] Multiple objects create करना
[B] Single instance maintain करना
[C] Thread create करना
[D] Database delete करना
441. What is the use of Singleton pattern?
[A] Create multiple objects
[B] Maintain single instance
[C] Create thread
[D] Delete database
सही उत्तर: Single instance maintain करना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Maintain single instance
Explanation: Important question.
442. Repository pattern किस लिए use होता है?
[A] UI design के लिए
[B] Data access layer abstraction के लिए
[C] Thread management के लिए
[D] Memory management के लिए
442. What is Repository pattern used for?
[A] UI design
[B] Data access layer abstraction
[C] Thread management
[D] Memory management
सही उत्तर: Data access layer abstraction के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Data access layer abstraction
Explanation: Important question.
443. Dependency Injection का मुख्य फायदा क्या है?
[A] Tight coupling बढ़ाना
[B] Loose coupling achieve करना
[C] Memory leak बढ़ाना
[D] Thread blocking करना
443. What is the main benefit of Dependency Injection?
[A] Increase tight coupling
[B] Achieve loose coupling
[C] Increase memory leak
[D] Block threads
सही उत्तर: Loose coupling achieve करना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Achieve loose coupling
Explanation: Important question.
444. ASP.NET Core क्या है?
[A] Desktop application framework
[B] Cross-platform web framework
[C] Database engine
[D] Operating system
444. What is ASP.NET Core?
[A] Desktop application framework
[B] Cross-platform web framework
[C] Database engine
[D] Operating system
सही उत्तर: Cross-platform web framework
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Cross-platform web framework
Explanation: Important question.
445. ASP.NET Core का सबसे बड़ा फायदा क्या है?
[A] Windows only support
[B] Cross-platform support
[C] Only desktop apps
[D] No web support
445. What is the biggest advantage of ASP.NET Core?
[A] Windows only support
[B] Cross-platform support
[C] Only desktop apps
[D] No web support
सही उत्तर: Cross-platform support
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Cross-platform support
Explanation: Important question.
446. Middleware क्या होता है ASP.NET Core में?
[A] Database layer
[B] Request pipeline component
[C] UI component
[D] Thread manager
446. What is middleware in ASP.NET Core?
[A] Database layer
[B] Request pipeline component
[C] UI component
[D] Thread manager
सही उत्तर: Request pipeline component
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Request pipeline component
Explanation: Important question.
447. Kestrel server क्या है?
[A] Database server
[B] Web server for ASP.NET Core
[C] File server
[D] Cache server
447. What is Kestrel server?
[A] Database server
[B] Web server for ASP.NET Core
[C] File server
[D] Cache server
सही उत्तर: Web server for ASP.NET Core
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Web server for ASP.NET Core
Explanation: Important question.
448. Dependency Injection ASP.NET Core में default क्यों है?
[A] Tight coupling के लिए
[B] Loose coupling और testability के लिए
[C] Performance decrease करने के लिए
[D] Memory increase करने के लिए
448. Why is Dependency Injection default in ASP.NET Core?
[A] For tight coupling
[B] For loose coupling and testability
[C] To decrease performance
[D] To increase memory
सही उत्तर: Loose coupling और testability के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: For loose coupling and testability
Explanation: Important question.
449. Startup class का मुख्य उपयोग क्या है?
[A] Database create करना
[B] Application configuration करना
[C] Thread management करना
[D] File handling करना
449. What is the main use of Startup class?
[A] Create database
[B] Configure application
[C] Manage threads
[D] Handle files
सही उत्तर: Application configuration करना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Configure application
Explanation: Important question.
450. ConfigureServices method का उपयोग किसलिए होता है?
[A] Routing setup
[B] Dependency injection services register करने के लिए
[C] File upload
[D] Database delete
450. What is ConfigureServices used for?
[A] Routing setup
[B] Register DI services
[C] File upload
[D] Delete database
सही उत्तर: Dependency injection services register करने के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Register DI services
Explanation: Important question.