[ DOT NET Core MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ DOT NET Core MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
251. Native AOT का मुख्य लाभ क्या है?
[A] Fast Startup Time
[B] Slow Startup
[C] Large Memory Usage
[D] No Compilation
251. What is the main benefit of Native AOT?
[A] Fast Startup Time
[B] Slow Startup
[C] Large Memory Usage
[D] No Compilation
सही उत्तर: Fast Startup Time
व्याख्या: Native AOT Applications जल्दी Start होती हैं।
Correct Answer: Fast Startup Time
Explanation: Native AOT applications start faster.
252. Nullable Reference Types किस Version में Introduce हुई?
[A] C# 8
[B] C# 6
[C] C# 7
[D] C# 5
252. In which version were Nullable Reference Types introduced?
[A] C# 8
[B] C# 6
[C] C# 7
[D] C# 5
सही उत्तर: C# 8
व्याख्या: Nullable Reference Types Null Reference Errors कम करती हैं।
Correct Answer: C# 8
Explanation: Nullable reference types reduce null reference errors.
253. Top-Level Statements किस Version में Introduce हुए?
[A] C# 9
[B] C# 7
[C] C# 8
[D] C# 6
253. In which version were Top-Level Statements introduced?
[A] C# 9
[B] C# 7
[C] C# 8
[D] C# 6
सही उत्तर: C# 9
व्याख्या: Top-Level Statements Main Method को Simplify करते हैं।
Correct Answer: C# 9
Explanation: Top-level statements simplify the Main method.
254. Implicit Usings किस Version में Introduce हुए?
[A] .NET 6
[B] .NET 5
[C] .NET Core 3.1
[D] .NET Core 2.1
254. In which version were Implicit Usings introduced?
[A] .NET 6
[B] .NET 5
[C] .NET Core 3.1
[D] .NET Core 2.1
सही उत्तर: .NET 6
व्याख्या: Common Namespaces Automatically Include हो जाते हैं।
Correct Answer: .NET 6
Explanation: Common namespaces are automatically included.
255. Hot Reload का उपयोग किसलिए किया जाता है?
[A] Code Changes बिना Restart Apply करने के लिए
[B] Database Backup
[C] Authentication
[D] Routing
255. What is Hot Reload used for?
[A] Apply Code Changes Without Restart
[B] Database Backup
[C] Authentication
[D] Routing
सही उत्तर: Code Changes बिना Restart Apply करने के लिए
व्याख्या: Hot Reload Development Speed बढ़ाती है।
Correct Answer: Apply Code Changes Without Restart
Explanation: Hot Reload improves development speed.
256. gRPC और REST में कौन अधिक Performance देता है?
[A] gRPC
[B] REST
[C] दोनों समान
[D] कोई नहीं
256. Which generally provides better performance, gRPC or REST?
[A] gRPC
[B] REST
[C] Both Same
[D] None
सही उत्तर: gRPC
व्याख्या: gRPC Binary Protocol Buffers उपयोग करता है।
Correct Answer: gRPC
Explanation: gRPC uses binary protocol buffers.
257. REST API सामान्यतः कौन सा Data Format उपयोग करती है?
[A] JSON
[B] XML Only
[C] CSV
[D] TXT
257. Which data format is commonly used by REST APIs?
[A] JSON
[B] XML Only
[C] CSV
[D] TXT
सही उत्तर: JSON
व्याख्या: JSON REST APIs का सबसे लोकप्रिय Format है।
Correct Answer: JSON
Explanation: JSON is the most popular format for REST APIs.
258. Dependency Injection Container का कार्य क्या है?
[A] Dependencies Manage करना
[B] Database Store करना
[C] Logging करना
[D] Routing करना
258. What is the role of a Dependency Injection Container?
[A] Manage Dependencies
[B] Store Database
[C] Logging
[D] Routing
सही उत्तर: Dependencies Manage करना
व्याख्या: DI Container Objects के Creation और Lifetime को Manage करता है।
Correct Answer: Manage Dependencies
Explanation: DI container manages object creation and lifetimes.
259. Service Locator Pattern को सामान्यतः क्यों Avoid किया जाता है?
[A] Hidden Dependencies
[B] Fast Performance
[C] Simple Code
[D] Better Testing
259. Why is Service Locator Pattern generally avoided?
[A] Hidden Dependencies
[B] Fast Performance
[C] Simple Code
[D] Better Testing
सही उत्तर: Hidden Dependencies
व्याख्या: यह Dependencies को Explicit नहीं बनाता।
Correct Answer: Hidden Dependencies
Explanation: It hides dependencies and reduces maintainability.
260. Azure DevOps क्या है?
[A] Development Lifecycle Platform
[B] Database Server
[C] Programming Language
[D] Web Browser
260. What is Azure DevOps?
[A] Development Lifecycle Platform
[B] Database Server
[C] Programming Language
[D] Web Browser
सही उत्तर: Development Lifecycle Platform
व्याख्या: Azure DevOps Source Control, CI/CD और Project Management सुविधाएँ प्रदान करता है।
Correct Answer: Development Lifecycle Platform
Explanation: Azure DevOps provides source control, CI/CD and project management tools.