[ DOT NET Core MCQS ]

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

[ DOT NET Core MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
441. Multicast Delegate क्या करता है?
[A] Multiple Methods Call करता है
[B] Multiple Databases Connect करता है
[C] Multiple Threads Create करता है
[D] Multiple Classes Create करता है
441. What does a Multicast Delegate do?
[A] Invokes Multiple Methods
[B] Connects Multiple Databases
[C] Creates Multiple Threads
[D] Creates Multiple Classes
सही उत्तर: Multiple Methods Call करता है
व्याख्या: एक Delegate कई Methods Invoke कर सकता है।
Correct Answer: Invokes Multiple Methods
Explanation: A delegate can invoke multiple methods.
442. Event किस पर आधारित होता है?
[A] Delegate
[B] Class
[C] Interface
[D] Struct
442. Events are based on which concept?
[A] Delegate
[B] Class
[C] Interface
[D] Struct
सही उत्तर: Delegate
व्याख्या: Events Delegates के ऊपर Built होते हैं।
Correct Answer: Delegate
Explanation: Events are built on top of delegates.
443. event Keyword का उद्देश्य क्या है?
[A] Publish-Subscribe Mechanism
[B] Database Creation
[C] Routing
[D] Caching
443. What is the purpose of the event keyword?
[A] Publish-Subscribe Mechanism
[B] Database Creation
[C] Routing
[D] Caching
सही उत्तर: Publish-Subscribe Mechanism
व्याख्या: Events Notifications भेजने के लिए उपयोग होते हैं।
Correct Answer: Publish-Subscribe Mechanism
Explanation: Events are used for notifications.
444. Lambda Expression का उपयोग किसलिए होता है?
[A] Inline Function Define करने के लिए
[B] Database Query
[C] Routing
[D] Caching
444. What are Lambda Expressions used for?
[A] Define Inline Functions
[B] Database Query
[C] Routing
[D] Caching
सही उत्तर: Inline Function Define करने के लिए
व्याख्या: Lambda Expressions Concise Syntax प्रदान करती हैं।
Correct Answer: Define Inline Functions
Explanation: Lambda expressions provide concise syntax.
445. Expression Tree क्या Represent करती है?
[A] Code as Data
[B] Database Structure
[C] Thread Structure
[D] Class Diagram
445. What does an Expression Tree represent?
[A] Code as Data
[B] Database Structure
[C] Thread Structure
[D] Class Diagram
सही उत्तर: Code as Data
व्याख्या: Expression Trees Runtime पर Analyze की जा सकती हैं।
Correct Answer: Code as Data
Explanation: Expression trees can be analyzed at runtime.
446. Reflection का उपयोग किसलिए होता है?
[A] Runtime Metadata Access
[B] Database Access
[C] Caching
[D] Authentication
446. What is Reflection used for?
[A] Runtime Metadata Access
[B] Database Access
[C] Caching
[D] Authentication
सही उत्तर: Runtime Metadata Access
व्याख्या: Reflection Runtime में Types Inspect करती है।
Correct Answer: Runtime Metadata Access
Explanation: Reflection inspects types at runtime.
447. Generics का मुख्य लाभ क्या है?
[A] Type Safety
[B] Slow Performance
[C] No Reusability
[D] No Compile-Time Checking
447. What is the main benefit of Generics?
[A] Type Safety
[B] Slow Performance
[C] No Reusability
[D] No Compile-Time Checking
सही उत्तर: Type Safety
व्याख्या: Generics Compile Time Type Checking प्रदान करती हैं।
Correct Answer: Type Safety
Explanation: Generics provide compile-time type checking.
448. Generic Constraint कहाँ उपयोग होती है?
[A] Type Restrictions Define करने के लिए
[B] Database Queries
[C] Routing
[D] Logging
448. What are Generic Constraints used for?
[A] Define Type Restrictions
[B] Database Queries
[C] Routing
[D] Logging
सही उत्तर: Type Restrictions Define करने के लिए
व्याख्या: Constraints Generic Types को Restrict करती हैं।
Correct Answer: Define Type Restrictions
Explanation: Constraints restrict generic types.
449. where T : class Constraint क्या दर्शाती है?
[A] T Reference Type होना चाहिए
[B] T Value Type होना चाहिए
[C] T Enum होना चाहिए
[D] T Struct होना चाहिए
449. What does where T : class indicate?
[A] T Must Be a Reference Type
[B] T Must Be a Value Type
[C] T Must Be an Enum
[D] T Must Be a Struct
सही उत्तर: T Reference Type होना चाहिए
व्याख्या: Generic Type को Reference Types तक सीमित करती है।
Correct Answer: T Must Be a Reference Type
Explanation: Restricts generic type to reference types.
450. Record Type किस .NET Version में Introduce हुई?
[A] C# 9
[B] C# 5
[C] C# 6
[D] C# 7
450. In which version were Record Types introduced?
[A] C# 9
[B] C# 5
[C] C# 6
[D] C# 7
सही उत्तर: C# 9
व्याख्या: Records Immutable Data Models के लिए उपयोगी हैं।
Correct Answer: C# 9
Explanation: Records are useful for immutable data models.