[C-Sharp Programming MCQS ]

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

[ C-Sharp Programming MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
411. Garbage Collector किस type की memory manage करता है?
[A] Stack memory
[B] Heap memory
[C] CPU memory
[D] Cache memory
411. What type of memory does Garbage Collector manage?
[A] Stack memory
[B] Heap memory
[C] CPU memory
[D] Cache memory
सही उत्तर: Heap memory
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Heap memory
Explanation: Important question.
412. Boxing का मतलब क्या है?
[A] Reference to value
[B] Value type to object conversion
[C] Object to value conversion
[D] Memory delete करना
412. What is boxing?
[A] Reference to value
[B] Value type to object conversion
[C] Object to value conversion
[D] Delete memory
सही उत्तर: Value type to object conversion
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Value type to object conversion
Explanation: Important question.
413. Unboxing का मतलब क्या है?
[A] Object to value type conversion
[B] Value to object conversion
[C] Thread conversion
[D] Memory allocation
413. What is unboxing?
[A] Object to value conversion
[B] Value to object conversion
[C] Thread conversion
[D] Memory allocation
सही उत्तर: Object to value type conversion
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Object to value type conversion
Explanation: Important question.
414. Value type कहाँ store होता है?
[A] Heap में
[B] Stack में
[C] Database में
[D] File में
414. Where are value types stored?
[A] Heap
[B] Stack
[C] Database
[D] File
सही उत्तर: Stack में
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Stack
Explanation: Important question.
415. C# में struct और class में मुख्य अंतर क्या है?
[A] Struct reference type है
[B] Class value type है
[C] Struct value type है और class reference type है
[D] दोनों same हैं
415. What is the main difference between struct and class in C#?
[A] Struct is reference type
[B] Class is value type
[C] Struct is value type and class is reference type
[D] Both are same
सही उत्तर: Struct value type है और class reference type है
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Struct is value type and class is reference type
Explanation: Important question.
416. Struct को कब use करना चाहिए?
[A] Large objects के लिए
[B] Small lightweight data के लिए
[C] Database operations के लिए
[D] Threading के लिए
416. When should struct be used?
[A] For large objects
[B] For small lightweight data
[C] For database operations
[D] For threading
सही उत्तर: Small lightweight data के लिए
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: For small lightweight data
Explanation: Important question.
417. Value type copy कैसे होती है?
[A] Reference copy
[B] Shallow reference
[C] By value copy
[D] Pointer copy
417. How is a value type copied?
[A] Reference copy
[B] Shallow reference
[C] By value copy
[D] Pointer copy
सही उत्तर: By value copy
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: By value copy
Explanation: Important question.
418. Reference type में assignment क्या करता है?
[A] Value copy
[B] Reference copy
[C] Deep clone always
[D] Memory delete
418. What does assignment do in reference type?
[A] Value copy
[B] Reference copy
[C] Deep clone always
[D] Delete memory
सही उत्तर: Reference copy
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Reference copy
Explanation: Important question.
419. Object keyword C# में क्या दर्शाता है?
[A] Only class type
[B] Root base type of all types
[C] Value type only
[D] Thread type
419. What does object keyword represent in C#?
[A] Only class type
[B] Root base type of all types
[C] Value type only
[D] Thread type
सही उत्तर: Root base type of all types
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Root base type of all types
Explanation: Important question.
420. System.Object का महत्व क्या है?
[A] Only UI class
[B] All types का base class
[C] Thread manager
[D] Database connector
420. What is the importance of System.Object?
[A] Only UI class
[B] Base class of all types
[C] Thread manager
[D] Database connector
सही उत्तर: All types का base class
व्याख्या: महत्वपूर्ण प्रश्न।
Correct Answer: Base class of all types
Explanation: Important question.