[C-Sharp Programming MCQS ]

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

[ C-Sharp Programming MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
251. C# में Serialization का मुख्य उद्देश्य क्या है?
[A] Object को Memory से Delete करना
[B] Object को Byte Stream में Convert करना
[C] Database Create करना
[D] Method Execute करना
251. What is the primary purpose of Serialization in C#?
[A] Delete an object from memory
[B] Convert an object into a byte stream
[C] Create a database
[D] Execute a method
सही उत्तर: Object को Byte Stream में Convert करना
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Convert an object into a byte stream
Explanation: Important question.
252. Deserialization क्या करती है?
[A] Object को Delete करती है
[B] Byte Stream को Object में Convert करती है
[C] Memory Allocate करती है
[D] File Compress करती है
252. What does Deserialization do?
[A] Deletes an object
[B] Converts a byte stream into an object
[C] Allocates memory
[D] Compresses files
सही उत्तर: Byte Stream को Object में Convert करती है
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Converts a byte stream into an object
Explanation: Important question.
253. System.Text.Json Namespace का मुख्य उपयोग क्या है?
[A] Networking
[B] JSON Serialization एवं Deserialization
[C] Image Processing
[D] Garbage Collection
253. What is the primary purpose of the System.Text.Json namespace?
[A] Networking
[B] JSON serialization and deserialization
[C] Image processing
[D] Garbage collection
सही उत्तर: JSON Serialization एवं Deserialization
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: JSON serialization and deserialization
Explanation: Important question.
254. JsonSerializer Class किस Namespace में उपलब्ध है?
[A] System.Xml
[B] System.Text.Json
[C] System.IO
[D] System.Runtime
254. In which namespace is the JsonSerializer class available?
[A] System.Xml
[B] System.Text.Json
[C] System.IO
[D] System.Runtime
सही उत्तर: System.Text.Json
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: System.Text.Json
Explanation: Important question.
255. XML Serialization के लिए सामान्यतः किस Class का उपयोग किया जाता है?
[A] BinaryFormatter
[B] XmlSerializer
[C] JsonSerializer
[D] DataContractSerializer
255. Which class is commonly used for XML Serialization?
[A] BinaryFormatter
[B] XmlSerializer
[C] JsonSerializer
[D] DataContractSerializer
सही उत्तर: XmlSerializer
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: XmlSerializer
Explanation: Important question.
256. DataContract Attribute का उपयोग किसलिए किया जाता है?
[A] Database Mapping
[B] Serialization के लिए Class को Mark करने हेतु
[C] Exception Handling
[D] Thread Synchronization
256. Why is the DataContract attribute used?
[A] For database mapping
[B] To mark a class for serialization
[C] For exception handling
[D] For thread synchronization
सही उत्तर: Serialization के लिए Class को Mark करने हेतु
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: To mark a class for serialization
Explanation: Important question.
257. DataMember Attribute का उपयोग किसलिए किया जाता है?
[A] Method Override करने के लिए
[B] Serialization में Member Include करने के लिए
[C] Garbage Collection के लिए
[D] Reflection के लिए
257. Why is the DataMember attribute used?
[A] To override methods
[B] To include a member in serialization
[C] For garbage collection
[D] For reflection
सही उत्तर: Serialization में Member Include करने के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: To include a member in serialization
Explanation: Important question.
258. C# में Assembly.Load() Method का उपयोग किसलिए किया जाता है?
[A] Assembly को Runtime पर Load करने के लिए
[B] Database Load करने के लिए
[C] Image Load करने के लिए
[D] Memory Free करने के लिए
258. Why is the Assembly.Load() method used in C#?
[A] To load an assembly at runtime
[B] To load a database
[C] To load an image
[D] To free memory
सही उत्तर: Assembly को Runtime पर Load करने के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: To load an assembly at runtime
Explanation: Important question.
259. Reflection.Emit Namespace का उपयोग किसलिए किया जाता है?
[A] Runtime पर Dynamic Code Generate करने के लिए
[B] Database Create करने के लिए
[C] File Delete करने के लिए
[D] JSON Parse करने के लिए
259. What is the purpose of the Reflection.Emit namespace?
[A] Generate dynamic code at runtime
[B] Create databases
[C] Delete files
[D] Parse JSON
सही उत्तर: Runtime पर Dynamic Code Generate करने के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Generate dynamic code at runtime
Explanation: Important question.
260. IL का पूरा नाम क्या है?
[A] Intermediate Language
[B] Internal Language
[C] Integrated Logic
[D] Internet Language
260. What is the full form of IL in .NET?
[A] Intermediate Language
[B] Internal Language
[C] Integrated Logic
[D] Internet Language
सही उत्तर: Intermediate Language
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Intermediate Language
Explanation: Important question.