[C-Sharp Programming MCQS ]

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

[ C-Sharp Programming MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
241. C# में Reflection का मुख्य उद्देश्य क्या है?
[A] Database Access करना
[B] Runtime पर Type Information प्राप्त करना
[C] File Compression करना
[D] Memory Allocate करना
241. What is the primary purpose of Reflection in C#?
[A] Access databases
[B] Obtain type information at runtime
[C] Compress files
[D] Allocate memory
सही उत्तर: Runtime पर Type Information प्राप्त करना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Obtain type information at runtime
Explanation: Important question.
242. C# में Type Class का उपयोग किसलिए किया जाता है?
[A] Network Programming
[B] Type Metadata प्राप्त करने के लिए
[C] Database Connection के लिए
[D] Thread Management के लिए
242. Why is the Type class used in C#?
[A] For network programming
[B] To obtain type metadata
[C] For database connections
[D] For thread management
सही उत्तर: Type Metadata प्राप्त करने के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: To obtain type metadata
Explanation: Important question.
243. Custom Attribute बनाने के लिए किस Class से Inherit किया जाता है?
[A] Exception
[B] Attribute
[C] Object
[D] Delegate
243. Which class must be inherited to create a custom attribute?
[A] Exception
[B] Attribute
[C] Object
[D] Delegate
सही उत्तर: Attribute
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Attribute
Explanation: Important question.
244. AttributeUsage Attribute का उपयोग किसलिए किया जाता है?
[A] Exception Handle करने के लिए
[B] Attribute कहाँ Apply होगा यह निर्धारित करने के लिए
[C] File Open करने के लिए
[D] Database Update करने के लिए
244. Why is the AttributeUsage attribute used?
[A] To handle exceptions
[B] To specify where an attribute can be applied
[C] To open files
[D] To update databases
सही उत्तर: Attribute कहाँ Apply होगा यह निर्धारित करने के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: To specify where an attribute can be applied
Explanation: Important question.
245. C# में dynamic Keyword की मुख्य विशेषता क्या है?
[A] Compile Time Type Checking
[B] Runtime Type Resolution
[C] Static Memory Allocation
[D] Thread Synchronization
245. What is the main feature of the dynamic keyword in C#?
[A] Compile-time type checking
[B] Runtime type resolution
[C] Static memory allocation
[D] Thread synchronization
सही उत्तर: Runtime Type Resolution
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Runtime type resolution
Explanation: Important question.
246. ExpandoObject किस Namespace में उपलब्ध है?
[A] System.Collections
[B] System.Dynamic
[C] System.Threading
[D] System.Reflection
246. In which namespace is ExpandoObject available?
[A] System.Collections
[B] System.Dynamic
[C] System.Threading
[D] System.Reflection
सही उत्तर: System.Dynamic
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: System.Dynamic
Explanation: Important question.
247. Expression Tree का मुख्य उपयोग किसलिए किया जाता है?
[A] Image Processing
[B] Code को Data के रूप में Represent करने के लिए
[C] Database Backup
[D] Garbage Collection
247. What is the primary use of Expression Trees?
[A] Image processing
[B] Represent code as data
[C] Database backup
[D] Garbage collection
सही उत्तर: Code को Data के रूप में Represent करने के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Represent code as data
Explanation: Important question.
248. Multicast Delegate की विशेषता क्या है?
[A] केवल एक Method Call कर सकता है
[B] एक से अधिक Methods Invoke कर सकता है
[C] केवल Static Method Call करता है
[D] केवल Virtual Method Call करता है
248. What is the characteristic of a Multicast Delegate?
[A] Can invoke only one method
[B] Can invoke multiple methods
[C] Can invoke only static methods
[D] Can invoke only virtual methods
सही उत्तर: एक से अधिक Methods Invoke कर सकता है
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Can invoke multiple methods
Explanation: Important question.
249. EventHandler Delegate का सामान्य उपयोग किसलिए किया जाता है?
[A] Database Access
[B] Event Handling
[C] Reflection
[D] Serialization
249. What is the common use of the EventHandler delegate?
[A] Database access
[B] Event handling
[C] Reflection
[D] Serialization
सही उत्तर: Event Handling
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Event handling
Explanation: Important question.
250. Roslyn Compiler Platform का मुख्य उद्देश्य क्या है?
[A] Database Engine उपलब्ध कराना
[B] C# और VB Compiler APIs उपलब्ध कराना
[C] Network Communication
[D] Garbage Collection
250. What is the primary purpose of the Roslyn Compiler Platform?
[A] Provide a database engine
[B] Provide C# and VB compiler APIs
[C] Handle network communication
[D] Garbage collection
सही उत्तर: C# और VB Compiler APIs उपलब्ध कराना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Provide C# and VB compiler APIs
Explanation: Important question.